Over a million developers have joined DZone.

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

· DevOps Zone

The DevOps zone is brought to you in partnership with Sonatype Nexus. The Nexus suite helps scale your DevOps delivery with continuous component intelligence integrated into development tools, including Eclipse, IntelliJ, Jenkins, Bamboo, SonarQube and more. Schedule a demo today

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


The DevOps zone is brought to you in partnership with Sonatype Nexus. Use the Nexus Suite to automate your software supply chain and ensure you're using the highest quality open source components at every step of the development lifecycle. Get Nexus today


The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}