summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/multi-level-ca-ldap/hosts/dave/etc/ipsec.conf
blob: d4b20453d2b318e3a873ad4b25e07d88c015227f (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
	crlcheckinterval=180
	strictcrlpolicy=yes
	plutostart=no

ca strongswan
	cacert=strongswanCert.pem
	crluri="ldap://ldap.strongswan.org/cn=strongSwan Root CA, o=Linux strongSwan, c=CH?certificateRevocationList"
	auto=add

conn %default
	ikelifetime=60m
	keylife=20m
	rekeymargin=3m
	keyingtries=1
	keyexchange=ikev2
	left=PH_IP_DAVE
	leftnexthop=%direct
	leftcert=daveCert.pem
	right=PH_IP_MOON
	rightid=@moon.strongswan.org
	rightca="C=CH, O=Linux strongSwan, CN=strongSwan Root CA"

conn alice
	rightsubnet=PH_IP_ALICE/32
	auto=add
	
conn venus
	rightsubnet=PH_IP_VENUS/32
	auto=add