I've got about 8 Strongswan IPSec tunnels running on the Linode servers I manage which connect to a Sonicwall firewall at my office. I started out with Openswan, but switched to Strongswan after running into problems (I remember Openswan being very difficult to debug and the documentation was almost non-existent). I wrote a Puppet module that automates the entire process of setting up Strongswan and configuring the tunnels:
https://github.com/theasci/puppet-strongswanHere's an example configuration taken from one of my Linode servers (with IPs obfuscated):
Code:
conn office_sonicwall
authby=secret
type=tunnel
esp=3des-sha1-modp1024
ike=3des-sha1-modp1024
ikelifetime=28800s
keyexchange=ikev2
lifetime=28800s
left=xx.xx.xx.xx
leftid=@web.node4
leftsubnet=192.168.132.139/32
right=xx.xx.xx.xx
rightid=@0017C525F310
rightsubnet=192.168.100.1/24
forceencaps=yes
auto=start
I spent a ton of time debugging IPSec issues (most of which were the fault of Sonicwall, which I now loathe), but after I got all the kinks worked out it's been pretty solid. I have no experience with Juniper routers