# /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
	plutostderrlog=/tmp/pluto.log
	plutodebug=all
	plutorestartoncrash=false
	dumpdir=/tmp
	protostack=netkey

conn westnet-eastnet-mismatch
	ikev2=insist
	left=192.1.2.45
	leftid="@west"
	#mismatched on purpose
	#leftsubnet=192.0.1.0/24
	leftsubnet=193.0.1.0/24
	right=192.1.2.23
	rightid="@east"
	rightsubnet=192.0.2.0/24
	authby=secret
	


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