VirtualBox, XP, Ubuntu and Cisco VPN

Discussions related to using VirtualBox on Windows hosts.
Post Reply
gudstrand
Posts: 2
Joined: 5. Nov 2008, 00:15

VirtualBox, XP, Ubuntu and Cisco VPN

Post by gudstrand »

I have created an Ubuntu guest installation in a Windows XP Pro host. I have the network connection bridged and am able to ping from the guest to the host and vice versa. It is all working as expected. Unfortunately for me I need to work across a VPN connection.

I have the Cisco VPN installed and working under XP, I can connect and am able to access the VPN resources. I was hoping that when I connected to the VPN in XP that somethow the bridge network connection being used by Ubuntu would also be able to send its traffic across its connection but that is not the case.

Next, I thought that if I changed the bridge connection in Windows to bridge the Ubuntu adapter and the Cisco adapter that I would be able to communicate across the VPN with Ubuntu and with Windows. This was a total fail, I lost network connectivity on both sides.

Before pressing on I wanted to know if what I am trying to do is even possible, If it is then I can pursue working towards a proper configuration. Just to complicate things there is an anomaly about my office VPN which may be contributing to the problem, or maybe the problem in its entirety.

What is different about my VPN connection to the office (at least it is different than any other VPN I have used) is that I lose all of my local connections (printers, servers on my local net, NAS devices, etc) when I connect to the VPN. This has nothing to do with VirtualBox or the bridging and is 'normal" according to the people who set up the office VPN. I guess it is an extra layer of security but it is a pain in the rear.

If it is possible to do what I am attempting in a "normal" VPN installation then I can approach the VPN people and see if they can work with me to get this functioning. If it is something that I am doing wrong then I can continue to press forward and try to get this work. If it is something that is just not possible, well then I can just move on. I just want to understand which direction to take. :-)

Thanks
g
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

If you would add a second HIF (just the interface) to the VM, you might be able to route traffic from the Host to the VM and VPN.

The reason you lose connection to all your local network resources could be because all traffic is routed through the VPN connection. Check your routing table for that.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply