# /etc/ipsec.conf - strongSwan IPsec configuration file

config setup

conn %default
	ikelifetime=60m
	keylife=20m
	rekeymargin=3m
	keyingtries=1
	keyexchange=ikev1

conn home
	left=192.168.0.200
	leftsourceip=%config
	leftcert=daveCert.pem
	leftid=dave@strongswan.org
	leftauth=pubkey
	leftauth2=xauth
	leftfirewall=yes
	xauth_identity=dave
	right=192.168.0.1
	rightsubnet=10.1.0.0/16
	rightid=@moon.strongswan.org
	rightauth=pubkey
	auto=add
