1) Install openswan 1 yum -y install openswanyum -y install openswan 2) Clean up install defaults: 1 rm -r /etc/ipsec.d/*.db; rm -f /etc/ipsec.secrets; certutil -N -d /etc/ipsec.d/rm -r /etc/ipsec.d/*.db; rm -f /etc/ipsec.secrets; certutil -N -d /etc/ipsec.d/ (Leave passwords blank) 3)
Openswan behind NAT
I found that although there must be many cases where one endpoint of the tunnel is behind a NAT router there wasn’t much detail about the configuration required to get the connection working. I found it very difficult to establish