aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ikev2/net2net-psk-dscp/hosts/sun/etc/ipsec.conf
blob: 3c4d0a07f651d0c49049e01697bc074623465de9 (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
# /etc/ipsec.conf - strongSwan IPsec configuration file

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_SUN
	leftsubnet=10.2.0.0/16
	leftfirewall=yes
	leftauth=psk
	right=PH_IP_MOON
	rightsubnet=10.1.0.0/16
	rightauth=psk