Over a million developers have joined DZone.

Allowing ‘Host Only’ VirtualBox Guest to Connect to the Internet

DZone's Guide to

Allowing ‘Host Only’ VirtualBox Guest to Connect to the Internet

· DevOps Zone ·
Free Resource

DevOps involves integrating development, testing, deployment and release cycles into a collaborative process. Learn more about the 4 steps to an effective DevSecOps infrastructure.

Yeah, I had this problem and it was a total pain! But I solved it by simply installing Squid Cache Proxy server on my physical PC, and that way my host-only internet virtualbox PCs could connect to the internet!

I did a quick 3 minute guide here - for anyone who wants to how it works!

This involves installing open-source proxy server on your PC – once done, your VirtualBox ‘Host Only’ Guests can connect to the internet via your computer.
Step 1 >  Install Squid-Cache for Windows – click here for link
Step 2 > Allow Port 3128 on your PC’s Firewall


Read the 4-part DevOps testing eBook to learn how to detect problems earlier in your DevOps testing processes.


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}