summaryrefslogtreecommitdiff
path: root/testing/tests/tnc/tnccs-20-hcd-eap/hosts/moon/etc/ipsec.conf
blob: 02ada5665d2d7d193ac990c3681361ac194556a2 (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
# /etc/ipsec.conf - strongSwan IPsec configuration file

config setup

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=pubkey
	leftfirewall=yes
	rightauth=eap-radius
	rightsendcert=never
	right=%any
	eap_identity=%any