summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/net2net-psk-dscp/hosts/moon/etc/ipsec.conf
blob: d78d27c1ad7c0e481da861ab5a970937d460f07b (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
36
37
38
# /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
	mobike=no

conn dscp-be
	leftid=@sun-be
	rightid=@moon-be
	mark=10
	also=net-net
	auto=add

conn dscp-ef
	leftid=@sun-ef
	rightid=@moon-ef
	mark=20
	also=net-net
	auto=add

conn net-net 
	left=PH_IP_MOON
	leftsubnet=10.1.0.0/16
	leftfirewall=yes
	leftauth=psk
	right=PH_IP_SUN
	rightsubnet=10.2.0.0/16
	rightauth=psk