summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/nat-portswitch/hosts/sun/etc/ipsec.conf
blob: a7722142fd85425e502e6e183f25e7a1992cd332 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# /etc/ipsec.conf - strongSwan IPsec configuration file

version	2.0	# conforms to second version of ipsec.conf specification

config setup
	plutostart=no

conn %default
	left=PH_IP_SUN
	leftcert=sunCert.pem
	leftid=@sun.strongswan.org
	leftsubnet=10.2.0.0/16
	keyexchange=ikev2
	
conn rw-alice
	right=%any
	rightcert=aliceCert.pem
	rightid=alice@strongswan.org
	rightsubnet=10.1.0.0/16
	auto=add