I would like to be able to be able to tunnel a local IP address (i.e 192.168.1.211) through my router that supports IPSec to a remote VPS (i.e. 106.187.34.207). Network map is here: http://cl.ly/3E233z3J2X063z202A0E Is this possible?

I believe that an IPSec VPN is the only way to go about this. Is this true? If I was going to do it from a single machine I would just create an SSH tunnel but obviously that isn't going to work in this situation.

Router is a TP-Link TD-W8960N and the VPS is running ubuntu 11.10. I have absolutly no experience with VPN's but I believe something like openswan would be the thing to use. Am I right? Is this the right path to take? Has anybody got and suggestions?

link|improve this question
feedback

1 Answer

It is certainly possible to configure a site-to-site vpn between the network behind your TP-Link router and a network behind your unbuntu VPS. For this you need to configure some kind of "dummy" network, for example 192.168.2.0/24 on your vps box, and an IPSec stack such as freeswan / openswan / racoon .. on the other.

Then, this is quite a lot of work to set it up, especially if you do not have a real subnetwork on your vps ( it would be the case if your unbuntu was an hypervisor for example, with a subnet of virtual machines ). Why wouldn't you use ssh ? You can connect as many clients as you want from 192.168.1.100-200 to your vps.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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