aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/ipsec_ikev1.conf.left
blob: 55025dbc84f31a9316a6a938b0b4ec431145d17c (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
37
38
39
# /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.10
	leftcert=moonCert.pem
	leftid="C=CH, O=Linux strongSwan, CN=moon.strongswan.org"
	leftfirewall=yes

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

conn rw
	leftsubnet=192.168.1.0/24
	right=%any
	auto=add