summaryrefslogtreecommitdiff
path: root/testing/tests/swanctl/multi-level-ca/hosts/moon/etc/ipsec.conf
blob: 3a5aaa6b6c9fcf936cd1b74a589cfa6004e2896d (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
# /etc/ipsec.conf - strongSwan IPsec configuration file

config setup

ca strongswan
	cacert=strongswanCert.pem
	crluri=http://crl.strongswan.org/strongswan.crl
	auto=add

conn %default
	ikelifetime=60m
	keylife=20m
	rekeymargin=3m
	keyingtries=1
	keyexchange=ikev2
	left=PH_IP_MOON
	leftcert=moonCert.pem
	leftsendcert=ifasked
	leftid=@moon.strongswan.org

conn alice
	leftsubnet=PH_IP_ALICE/32
	right=%any
	rightca="C=CH, O=Linux strongSwan, OU=Research, CN=Research CA"
	auto=add
	
conn venus
	leftsubnet=PH_IP_VENUS/32
	right=%any
	rightca="C=CH, O=Linux strongSwan, OU=Sales, CN=Sales CA"
	auto=add