summaryrefslogtreecommitdiff
path: root/testing/tests/ikev1/double-nat-net/hosts/bob/etc/ipsec.conf
blob: 32d2ab0f62da581fb4a36f1937b27b43a542d95c (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
# /etc/ipsec.conf - strongSwan IPsec configuration file

config setup
	plutodebug=control
	crlcheckinterval=180
	strictcrlpolicy=no
	nat_traversal=yes
	charonstart=no

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

conn nat-t
	left=%defaultroute
	leftsubnet=10.2.0.0/16
	leftcert=bobCert.pem
	leftid=bob@strongswan.org
	leftfirewall=yes
	right=%any
	rightsubnetwithin=10.1.0.0/16
	auto=add