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

config setup
	uniqueids=no
	strictcrlpolicy=yes

ca strongswan
        cacert=strongswanCert.pem
        crluri=http://crl.strongswan.org/strongswan.crl
        auto=add

conn %default
	ikelifetime=60m
	keylife=20m
	rekeymargin=3m
	keyingtries=1
	left=PH_IP_MOON
	leftcert=moonCert.pem
	leftid=@moon.strongswan.org
	leftfirewall=yes
	right=%any
	rightid=carol@strongswan.org
	keyexchange=ikev2

conn alice 
	leftsubnet=PH_IP_ALICE/32
	auto=add

conn venus 
	leftsubnet=PH_IP_VENUS/32
	auto=add

