summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/nat-two-rw-mark/hosts/sun/etc/ipsec.conf
blob: ae4644c4b07f80b0b7d26f2731913e969b9424aa (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
32
33
34
35
# /etc/ipsec.conf - strongSwan IPsec configuration file

config setup
	crlcheckinterval=180
	strictcrlpolicy=no
	plutostart=no
	charondebug="knl 2"

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

conn alice 
	rightid=alice@strongswan.org
	mark=10/0xffffffff
	also=sun
	auto=add

conn venus
	rightid=@venus.strongswan.org
	mark=20  #0xffffffff is used by default
	also=sun
	auto=add

conn sun
	left=PH_IP_SUN
	leftcert=sunCert.pem
	leftid=@sun.strongswan.org
	leftsubnet=10.2.0.0/16
	leftupdown=/etc/mark_updown
	right=%any
	rightsubnet=0.0.0.0/0