summaryrefslogtreecommitdiff
path: root/testing/tests/p2pnat/behind-same-nat/hosts/venus/etc/ipsec.conf
blob: d2100935329033ce48745a7c3267c104905790e1 (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
36
# /etc/ipsec.conf - strongSwan IPsec configuration file

config setup
        crlcheckinterval=180
	strictcrlpolicy=no
	plutostart=no

conn %default
	ikelifetime=60m
	keylife=20m
	rekeymargin=3m
	keyingtries=1
	keyexchange=ikev2
	mobike=no
	dpdaction=restart
	dpddelay=60s
	left=%defaultroute
	leftfirewall=yes

conn medsrv
	leftid=F1ubAio8@medsrv.org
	right=PH_IP_CAROL
	rightid=carol@strongswan.org
	authby=psk
	p2p_mediation=yes
	auto=start

conn p2p 
	leftcert=venusCert.pem
	leftid=@venus.strongswan.org
	right=%any
	rightid=alice@strongswan.org
	rightsubnet=PH_IP_ALICE/32
	p2p_mediated_by=medsrv
	p2p_peerid=6cu1UTVw@medsrv.org
	auto=add