Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed Ubuntu in virtualbox under Windows 7.

It works without issue.

However, when the Windows 7 PC is connected to a VPN network, Ubuntu can no longer access the internet.

Is ther a way I can get Ubuntu to access the internet when Windows is connected to a VPN?

share|improve this question

migrated from Nov 22 '11 at 3:25

This question came from our site for professional and enthusiast programmers.

When you are connected to the VPN, can Windows itself connect to the internet directly? – Paul Nov 22 '11 at 4:07
Yes, windows itself can access internet. Actually, the VPN is to connect to company network and company internet. – limi Nov 22 '11 at 4:09
So can Windows access the internet directly, ie not via the company internet (this is a common restriction of remote access vpn and if it is the case, then you won't be able to do what you want). – Paul Nov 22 '11 at 4:12
I think once VPN is connected. The only way my windows to access internet is through the company gateway. Before VPN connection: WIndows => INTERNET After VPN connection: Windows => VPN(COMPANY NETWORK) => INTERNET – limi Nov 22 '11 at 4:16
Once VPN is connected, my computer even can't access other computers in my home network. – limi Nov 22 '11 at 4:17
up vote 3 down vote accepted

The simplest way would be to configure the VM to use bridged networking instead of NAT. Bridging means that the VM is a completely separate node on the network, with its own MAC address, so it can get its own IP address that's independent of all TCP/IP settings in the host OS.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .