Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

Thanks!

share|improve this question
1  
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
show 2 more comments

2 Answers

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
add comment

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

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.