Hello I was wondering if anyone was able to get openswan to work behind a router? meaning openswan -- ROUTER - << Internet >> - ROUTER -- openswan
I have an existing Openswan VPN, all working fairly well with Windows, Mac and Phones.
[Office 192.168.0.0/24]---[VPN A.B.C.D]----[Internet]---[Home Routers (NAT), Dynamic IPs]----[Workstations]
Now I want to run an offsite backup server and connect it to the same VPN, still with a dynamic IP
[Office 192.168.0.0/24]---[VPN A.B.C.D]----[Internet]---[Home Router (NAT), Dynamic IP]----[zfsbackup]
This setup will allow you to login to your own Ubuntu VPN server using your Iphone's default IOS VPN settings.
Install the necessary packages.
sudo apt-get install openswan openswan-modules-source ppp xl2tpd
(you may not need the openswan-modules-source, someone want to test that and let me know?)
Using the following setup:
192.168.1.22 Ubuntu Server IP Address
192.168.1.1 Gateway Internal I