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

config setup
        crlcheckinterval=180
	strictcrlpolicy=no
	plutostart=no

conn %default
	ikelifetime=60m
	keylife=20m
	rekeymargin=3m
	keyingtries=1
	keyexchange=ikev2
        left=PH_IP_MOON
	leftnexthop=%direct
	leftsubnet=10.1.0.0/16
	leftfirewall=yes
        right=%any

conn rw-rsasig
	authby=rsasig
	leftcert=moonCert.pem
	leftid=@moon.strongswan.org
	auto=add

conn rw-psk
	authby=secret
	leftid=PH_IP_MOON
	auto=add

