summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/acert-fallback/hosts/moon/etc/ipsec.conf
blob: 37e779fef0f482c41e71a7667bf8222d7f6d70eb (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

config setup

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

conn finance
	left=PH_IP_MOON
	leftcert=moonCert.pem
	leftid=@moon.strongswan.org
	leftsubnet=10.1.0.10/32
	leftfirewall=yes
	right=%any
	rightid=*@strongswan.org
	rightgroups=finance
	keyexchange=ikev2
	auto=add

conn sales
	left=PH_IP_MOON
	leftcert=moonCert.pem
	leftid=@moon.strongswan.org
	leftsubnet=10.1.0.20/32
	leftfirewall=yes
	right=%any
	rightgroups=sales
	keyexchange=ikev2
	auto=add