blob: 8c7918b80075655b999ae02b38400eb51e04cfd9 (
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=@moon-be
rightid=@sun-be
mark=10
also=net-net
auto=add
conn dscp-ef
leftid=@moon-ef
rightid=@sun-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
|