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

version 2.0

config setup
	# put the logs in /tmp for the UMLs, so that we can operate
	# without syslogd, which seems to break on UMLs
	logfile=/tmp/pluto.log
	logtime=no
	logappend=no
	plutodebug="all"
	plutorestartoncrash=false
	dumpdir=/tmp
	protostack=netkey

conn road-east-ipv4-ikev2
	also=road-east-x509
	leftsubnet=192.0.1.0/24
	rightsubnet=192.0.2.0/24
	also=road-east-common

conn road-east-common
	ikev2=insist
	ikelifetime=50s
	keyingtries=2
	rekey=yes
	rekeymargin=20

include /testing/baseconfigs/all/etc/ipsec.d/ipsec.conf.common

