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

config setup

conn %default
	ikelifetime=60m
	keylife=20m
	rekeymargin=3m
	keyingtries=1
	keyexchange=ikev1
	left=192.168.0.1
	leftcert=moonCert.pem
	leftid=@moon.strongswan.org
	leftsubnet=10.1.0.0/16
	leftauth=pubkey
	leftfirewall=yes
	right=%any
	rightauth=pubkey
	rightauth2=xauth
	auto=add

conn rw-carol
	rightid=carol@strongswan.org
	rightsourceip=10.3.0.1

conn rw-dave
 	rightid=dave@strongswan.org
 	rightsourceip=10.3.0.2