aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/ipsec_ikev1.conf.right
blob: 479791ea275871dc360fd1f404424f1271729ea8 (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
# /etc/ipsec.conf - strongSwan IPsec configuration file

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

conn %default
	ikelifetime=60m
	keylife=20m
	rekeymargin=3m
	keyingtries=1
	keyexchange=ikev1
	left=200.200.200.20
	leftcert=sunCert.pem
	leftid="C=CH, O=Linux strongSwan, CN=sun.strongswan.org"
	leftfirewall=yes

conn net-net
	left=%defaultroute
	leftsubnet=192.168.2.0/24
	leftcert=sunCert.pem
	right=200.200.200.10
	rightsubnet=192.168.1.0/24
	rightid="C=CH, O=Linux strongSwan, CN=moon.strongswan.org"
	auto=add

conn host-host
	left=%defaultroute
	leftcert=sunCert.pem
	right=200.200.200.10
	rightid="C=CH, O=Linux strongSwan, CN=moon.strongswan.org"
	auto=add