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

config setup

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

conn rw
	left=PH_IP_MOON
	leftcert=moonCert.pem
	leftid=@moon.strongswan.org
	leftsubnet=10.1.0.0/16,224.0.0.0/4
	right=%any
	rightid=*@strongswan.org
	rightsourceip=10.1.0.128/26
	rightsubnet=%dynamic,224.0.0.0/4,10.1.255.255
	mark=%unique
	auto=add
