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?

link|improve this question
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
show 3 more comments
feedback

migrated from stackoverflow.com Nov 22 '11 at 3:25

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

1 Answer

up vote 1 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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.