connections between guests with shared host VPN
Posted: 8. May 2012, 17:19
Greetings, all. I've run into a challenge that I'm hoping someone else has seen.
I'm running a web server on a Ubuntu (11.1) guest from a Mac (lion) host. For cross-browser testing, I often have additional virtual machines running - 1 or more WinXP guests and 1 Windows 7 guest - that need to see the web server on Ubuntu. The web server connects to various databases to retrieve content, as usual. When I'm in the office, connected to the wired network, I run the guest machines in bridged mode and they're all able to see the web server running on the Linux virtual machine just fine. The server, if it matters, is an old ATG Dynamo setup, which I can't run on the Mac host.
The difficulty is when I'm off-site and connected via VPN. In order for guest machines to share the host's VPN connection, I seem to need to set the guests to NAT, but then they are unable to access the web server on the Linux guest. Guest machines in bridged mode can get internet access, but do not use the VPN tunnel. I'm using the Mac native VPN (although I've also tried it with a Cisco VPN client).
Has anyone dealt with a situation like this? Any suggestions are greatly appreciated.
I'm running a web server on a Ubuntu (11.1) guest from a Mac (lion) host. For cross-browser testing, I often have additional virtual machines running - 1 or more WinXP guests and 1 Windows 7 guest - that need to see the web server on Ubuntu. The web server connects to various databases to retrieve content, as usual. When I'm in the office, connected to the wired network, I run the guest machines in bridged mode and they're all able to see the web server running on the Linux virtual machine just fine. The server, if it matters, is an old ATG Dynamo setup, which I can't run on the Mac host.
The difficulty is when I'm off-site and connected via VPN. In order for guest machines to share the host's VPN connection, I seem to need to set the guests to NAT, but then they are unable to access the web server on the Linux guest. Guest machines in bridged mode can get internet access, but do not use the VPN tunnel. I'm using the Mac native VPN (although I've also tried it with a Cisco VPN client).
Has anyone dealt with a situation like this? Any suggestions are greatly appreciated.