aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ikev2/alg-chacha20poly1305/hosts/moon/etc/ipsec.conf
blob: b0b57631f535293f4e8fbb3c44c05cd63e91d4f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# /etc/ipsec.conf - strongSwan IPsec configuration file

config setup

conn %default
	ikelifetime=60m
	keylife=20m
	rekeymargin=3m
	keyingtries=1
	keyexchange=ikev2
        ike=chacha20poly1305-prfsha256-ntru256!
        esp=chacha20poly1305-ntru256!

conn rw
	left=PH_IP_MOON
	leftfirewall=yes
	leftcert=moonCert.pem
	leftid=@moon.strongswan.org
	leftsubnet=10.1.0.0/16
	right=%any
	auto=add