summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/compress-nat/hosts/bob/etc/ipsec.conf
blob: 6ef2c06f4b920a90f6862e3e12705857478df310 (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
# /etc/ipsec.conf - strongSwan IPsec configuration file

config setup

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

conn hub
	leftcert=bobCert.pem
	leftid=bob@strongswan.org
	leftsubnet=10.2.0.0/16
	right=PH_IP_CAROL
	rightid=carol@strongswan.org
	rightsubnet=PH_IP_CAROL/32,10.1.0.0/16
	compress=yes
	auto=add