aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ikev2/rw-sig-auth/hosts/moon/etc/ipsec.conf
blob: 9f9051eeb58c716feb7db26019cd3eaa641ceb8a (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
# /etc/ipsec.conf - strongSwan IPsec configuration file

config setup

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

conn research
	rightauth=pubkey-sha384-sha256
	leftsubnet=10.1.0.0/28
	also=rw
	auto=add

conn accounting
	rightauth=pubkey-sha512-sha256
	leftsubnet=10.1.0.16/28
	also=rw
	auto=add

conn rw
	left=PH_IP_MOON
	leftid=@moon.strongswan.org
	leftcert=moonCert.pem
	leftauth=pubkey
	leftfirewall=yes
	right=%any