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

config setup

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

conn home
	left=PH_IP_DAVE
	leftfirewall=yes
	leftauth=pubkey
	leftid=dave@strongswan.org
	leftcert=daveCert.pem
	leftauth2=eap
	leftid2=228060123456002@strongswan.org
	eap_identity=228060123456002
	right=PH_IP_MOON
	rightsubnet=10.1.0.0/16
	rightauth=pubkey
	rightid=@moon.strongswan.org
	auto=add