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

config setup

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

conn finance
	left=PH_IP_MOON
	leftcert=moonCert.pem
	leftid=@moon.strongswan.org
	leftsubnet=10.1.0.10/32
	leftfirewall=yes
	right=%any
	rightid=*@strongswan.org
	rightgroups=finance
	keyexchange=ikev2
	auto=add

conn sales
	left=PH_IP_MOON
	leftcert=moonCert.pem
	leftid=@moon.strongswan.org
	leftsubnet=10.1.0.20/32
	leftfirewall=yes
	right=%any
	rightgroups=sales
	keyexchange=ikev2
	auto=add
