Configure VirtualBox to connect to Internet through proxy

Posted on

Problem :

I’m currently trying to run Chrome OS in VirtualBox 3.0.1. Windows XP Pro is the host system.

The actual behavior is Chrome OS starts up fine, reaches the login screen.

Once so, when trying to log using my Google account, I have the network indicator (at the bottom of Virtual Box window) briefly flashing, showing a connection attempt. Nothing happens then, the display stays on the login screen.

The fact that the network indicator flashes makes me think this may be a proxy configuration issue. Indeed, I’m using a proxy to access the Internet from Windows. I guess such a proxy should be configured for Virtual Box as well, but couldn’t find anything on the Internet not implying an actual modification of the guest system (for instance, this kind of solution isn’t working for me, as it implies accessing to the guest system, what I can’t)…

Does anyone have any clues or ideas on how to configure Virtual Box (and maybe Windows XP) to have this working?

Chrome OS version: 999.999.32409.000656, Developer Build Fri Nov 20 00:07:42 UTC

Solution :

This isn’t a VirtualBox (or Windows XP) problem – you need to instruct Chrome OS to use a proxy. The virtual adapter in VirtualBox can be configured to Bridged or NAT, though NAT would probably simplify your life somewhat.

I don’t have a Chrome OS VM – so this part is just a guess based on my Chrome browser, but can you click on the wrench icon -> Options -> Under The Hood (tab) -> The under the network section, click the “change proxy settings” button?

There may also be a way to export the right environment variables (http_proxy most likley) in your startup scripts, as Chrome OS shares a certain legacy with Linux and Ubuntu, but I can’t comment specifically on it.

Side Note: Your VirtualBox version is a bit out-dated, have you considered upgrading?

If your virtualbox network adapter is set to NAT at the moment, try setting it to “bridged” and make sure your host OS has made a connection through the proxy to the internet before launching the virtual Chrome.

To set Proxy Configuration In virtualBox

File -> Preferences->Proxy Settings->

IP and Port Number

Then OK

Leave a Reply

Your email address will not be published. Required fields are marked *