aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ikev2-ikev1-mixed/hosts/moon/etc/ipsec.conf
blob: ecdbd329db1ad000188df46d384c86741d6deb21 (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
# /etc/ipsec.conf - strongSwan IPsec configuration file

version	2.0	# conforms to second version of ipsec.conf specification

config setup
	plutodebug=control
	crlcheckinterval=180

conn %default
	ikelifetime=60m
	keylife=20m
	left=PH_IP_MOON
	leftnexthop=%direct
	leftcert=moonCert.pem
	leftid=@moon.strongswan.org
	leftsubnet=10.1.0.0/16

conn net-net
	right=PH_IP_SUN
	rightcert=sunCert.pem
	rightid=@sun.strongswan.org
	rightsubnet=10.2.0.0/16
	keyexchange=ikev2
	auto=add

conn rw
	right=%any
	rightid=carol@strongswan.org
	keyexchange=ikev1
	auto=add