# /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
	dumpdir=/tmp
	protostack=netkey

conn north-east-l2tp
	ikev2=no
	left=%defaultroute
	also=north-east
	leftprotoport=17/1701
	rightprotoport=17/1701
	type=transport

conn any-east-l2tp
	ikev2=no
	left=%any
	#leftsubnet=vhost:%priv,%no
	leftsubnet=vhost:%priv
	leftprotoport=17/1701
	rightprotoport=17/1701
	type=transport
	also=north-east

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