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

config setup

conn %default
	keylife=20m
	ikelifetime=10s
	rekeymargin=5s
	rekeyfuzz=0%
	keyingtries=1

conn home
	left=PH_IP_CAROL
	leftcert=carolCert.pem
	leftid=carol@strongswan.org
	leftsourceip=%config
	leftfirewall=yes
	right=PH_IP_MOON
	rightid=@moon.strongswan.org
	rightsubnet=10.1.0.0/16
	keyexchange=ikev2
	auto=add