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

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

conn northnet-eastnet-nat
	left=%defaultroute
	also=northnet
	leftnexthop=192.1.3.254
	leftid="C=ca, ST=Ontario, O=Libreswan, OU=Test Department, CN=north.testing.libreswan.org, E=testing@libreswan.org"
        leftcert=north
	leftrsasigkey=%cert
	leftsendcert=always
	right=192.1.2.23
	# Causes failure to orient if it comes in through an include?
	also=eastnet
	rightnexthop=192.1.2.254
	rightid="C=ca, ST=Ontario, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=testing@libreswan.org"
	#rightcert=east
	rightrsasigkey=%cert
	rightsendcert=always
	rightca=%same
