Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I'm working at home, I need to be able to connect to three different outgoing VPNs, two of which happen to use the same internal IP addressing schemes (192.168.0.*).

I also need a static address for my VirtualBox VM so I can connect to my testing web server.

Are there any routers which will allow me to connect to multiple outgoing VPNs and assign different internal IP addresses through NAT? Is such a thing even possible, or are there alternate solutions available?


share|improve this question
What types of VPN - are they all IPsec, PPTP or something else? – Cry Havok Feb 7 '11 at 22:42
Boot a Linux VM, enable IP forwarding. – grawity Feb 7 '11 at 22:52
@Cry Havok: Actually, I'm not sure. I'm using OpenVPN but perhaps that doesn't help answer the question. – Brian Lacy Mar 3 '11 at 19:17
@grawity: I don't believe that can work, since the VM ultimately communicates through its host?? – Brian Lacy Mar 3 '11 at 19:18
@Brian: It works as long as you can reach the VPN server itself from the VM host. I've been using coLinux as a VPN router for a long time. (Also, "OpenVPN" is a good answer, since it's also the name of the protocol.) It should be possible to NAT a different subnet to one of the colliding networks with generic iptables. – grawity Mar 3 '11 at 19:45

That's not a router issue. Once it leaves your VPN software it will be mapped to a public IP address, with the 192 address inside

share|improve this answer
Unless I'm not understanding the feature advertised, I'm sure I've seen expensive enterprise routers with this feature supported. – Brian Lacy Mar 3 '11 at 19:20

Any router that supports a variant of TomatoUSB, and espeically those that support Toastman's build. They can be found here:

This isn't so much about the hardware as it is about the firmware supporting things like PTPP and OpenVPN.

share|improve this answer

You must log in to answer this question.

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