summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/nat-rw-mixed/hosts/sun/etc/ipsec.conf
blob: b85bd607b40f43d11a7b719a4b4723d3e363c6a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# /etc/ipsec.conf - strongSwan IPsec configuration file

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

config setup
	plutodebug=control
	crlcheckinterval=180	
	nat_traversal=yes

conn %default
	ikelifetime=60m
	keylife=20m
	left=PH_IP_SUN
	leftcert=sunCert.pem
	leftid=@sun.strongswan.org
	leftsubnet=10.2.0.0/16

conn rw-alice
	right=%any
	rightcert=aliceCert.pem
	rightid=alice@strongswan.org
	rightsubnet=10.1.0.0/16
	keyexchange=ikev2
	auto=add

conn nat-t
	leftsubnet=10.2.0.0/16
	right=%any
	rightsubnetwithin=10.1.0.0/16
	keyexchange=ikev1
	auto=add