Using VirtualBox for VPN access
Like many other companies nowadays, a significant number of Sun employees operate off the corporate LAN or outside the corporate firewall. But occasionally these employees need to get at applications and data inside the firewall or, as we say at Sun, on SWAN (Sun Wide Area Network). One way of doing this is to use a VPN client such as the Cisco VPN Client with strong 2 factor authentication (tokencard).
But what if the Cisco client is not available or doesn't work on your PC. e.g. you may have Vista 64-bit, so what do you do then?
Some smart individuals in Sun do the following:
- Download and install VirtualBox.
- Install a guest which can run the Cisco client, e.g. Windows XP 32-bit.
- Install the Sun IT provided VPN client for this platform.
- When you need SWAN access, start or resume the guest and run the VPN client.
So in this way you can run an on-SWAN and off-SWAN session at the same time.
In the screenshot below (click on it for bigger version) you can see:
- Windows XP guest that is on SWAN showing an internal web page;
- Mac Host that is not on SWAN showing that it cannot reach that internal page;
- The configuration of the Windows XP guest in VirtualBox.
Hope this is useful to someone out there
-FB


Note that you do have to be rather careful when doing this, though, as it's potentially a borderline violation of the ITops policy that disallows the same machine from having an on-SWAN and off-SWAN connection at the same time. (Of course, that policy originally stems from the days before virtual machines, when it would be the same OS that was using both connections... but still, you have to take care not to allow traffic to leak between the host and the guest.)
Posted by 192.18.1.36 on January 14, 2009 at 06:46 PM GMT #
The Cisco VPN used to work fine in Virtualbox up until this latest release, version 2.1.2. After that it fails to connect with both UDP and TCP connections. This is with NAT for networking, since many people are on networks that won't give a computer multiple IP addresses.
Posted by Josh Hill on February 09, 2009 at 06:46 AM GMT #
I'm glad someone else sees the same thing, i thought it was me. VPN was woking fine then i updated to 2.1.4 VirtualBox. Now VPN connect dialog comes up then magically disappears before you can even type there. Is there a fix anywhere?
Posted by philb on March 07, 2009 at 05:10 AM GMT #
please contact me if you still experiencing some problems with VPN and Virtualbox/NAT [ vasily dot levchenko at Sun dot COM]
Posted by vasily Levchenko on April 04, 2009 at 04:51 PM BST #