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

config setup

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

conn home
	left=PH_IP_CAROL
	leftsourceip=%config
	leftcert=carolCert.pem
	leftid=carol@strongswan.org
	leftauth=pubkey
	leftauth2=xauth
	leftfirewall=yes
	xauth_identity=carol
	right=PH_IP_MOON
	rightsubnet=10.1.0.0/16
	rightid=@moon.strongswan.org
	rightauth=pubkey
	auto=add
