aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/tnc/tnccs-11-radius-pts/hosts/moon/etc/ipsec.conf
blob: 294964fe792e22e9b06b878055b55e08a0dfb2d5 (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
	rightid=*@strongswan.org
	rightsendcert=never
	right=%any