File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / strongswan / testing / tests / p2pnat / behind-same-nat / hosts / alice / etc / ipsec.conf
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 09:46:46 2020 UTC (4 years, 3 months ago) by misho
Branches: strongswan, MAIN
CVS tags: v5_9_2p0, v5_8_4p7, HEAD
Strongswan

# /etc/ipsec.conf - strongSwan IPsec configuration file

config setup

conn %default
	ikelifetime=60m
	keylife=20m
	rekeymargin=3m
	keyingtries=1
	keyexchange=ikev2
	mobike=no
	dpdaction=restart
	dpddelay=60s
	left=%defaultroute
	leftfirewall=yes
		
conn medsrv
	leftid=6cu1UTVw@medsrv.org
	leftauth=psk
	right=PH_IP_CAROL
	rightid=carol@strongswan.org
	rightauth=pubkey
	mediation=yes
	auto=add

conn peer
	leftcert=aliceCert.pem
	leftid=alice@strongswan.org
	right=%any
	rightid=@venus.strongswan.org
	rightsubnet=PH_IP_VENUS/32
	mediated_by=medsrv
	me_peerid=F1ubAio8@medsrv.org
	auto=start

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>