Skip to content

Instantly share code, notes, and snippets.

@gthank
Created October 2, 2014 18:42
Show Gist options
  • Save gthank/d8780fb1c83c7e9cb4e4 to your computer and use it in GitHub Desktop.
Save gthank/d8780fb1c83c7e9cb4e4 to your computer and use it in GitHub Desktop.
# ipsec.conf - strongSwan IPsec configuration file
# basic configuration
config setup
uniqueids = never
# charondebug = "app 3, asn 3, cfg 3, chd 3, dmn 3, enc 3, esp 3, ike 3, imc 3, imv 3, job 3, knl 3, lib 3, mgr 3, net 3, pts 3, tls 3, tnc 3"
# Add connections here.
conn ios
keyexchange=ikev1
authby=xauthrsasig
xauth=server
left=%defaultroute
leftsubnet=0.0.0.0/0
leftfirewall=yes
leftcert=serverCert.pem
right=%any
rightsubnet=10.0.0.0/24
rightsourceip=10.0.0.0/24
rightcert=clientCert.pem
auto=add
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment