0

I am using Ubuntu 10.04 to access a Windows VPN. I connect to the VPN from Ubuntu, and when I open a Windows 7 virtual machine (VirtualBox), everything works great ... I can access local network drives, ping local servers, remote into local machines, etc.

However, I can do none of this from Ubuntu. With the VPN connected, I cannot even ping anything within the VPN local network. I'm guessing it's a DNS issue that Windows is handling automatically but Ubuntu needs a setting somewhere to tell it to use the DNS servers of the VPN network?

Any ideas? I'm a relative novice to Ubuntu, esp. VPN in Ubuntu.

[EDIT] Actually, I'm almost positive it is DNS, because if I get the IP address from the Windows VM I can use Terminal Server Client to remote into a machine.

1 Answer 1

1

I had the same problem, and it was a routing issue. When you connect to the Windows VPN, the routes are not automatically added.

Here's what I did in 10.10 under the "IPv4 Settings" tab of the Network Manager's VPN config dialog. Hopefully, it will apply equally to 10.04.

  1. Selected Method "Automatic (VPN) addresses only"
  2. Specified DNS server IP's separated by comma
  3. Added our office's standard parent domain under "Search domains". (I'm not sure this matters because all my DNS lookups use the servers specified in #3 while connected to the VPN.)
  4. Clicked the "Routes..." button to open the routes dialog.
  5. Added a route for VPN addresses through the "Routes..." dialog.
  6. Example route: Address=192.168.0.0, Netmask=255.255.0.0, Gateway=192.168.2.53

You must log in to answer this question.

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