aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/tnc/tnccs-20-server-retry/hosts/moon/etc/ipsec.conf
blob: aed155ac14b944193c10ec754478d6c997cebaf8 (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
33
34
35
# /etc/ipsec.conf - strongSwan IPsec configuration file

config setup
	plutostart=no
	charondebug="tnc 3, imv 2"

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

conn rw-allow
	rightgroups=allow
	leftsubnet=10.1.0.0/28
	also=rw-eap
	auto=add

conn rw-isolate
	rightgroups=isolate
	leftsubnet=10.1.0.16/28
	also=rw-eap
	auto=add

conn rw-eap
	left=PH_IP_MOON
	leftcert=moonCert.pem
	leftid=@moon.strongswan.org
	leftauth=eap-ttls
	leftfirewall=yes
	rightauth=eap-ttls
	rightid=*@strongswan.org
	rightsendcert=never
	right=%any