# /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
	plutorestartoncrash=false
	plutodebug="control controlmore crypt"
	dumpdir=/tmp
	nat_traversal=yes
	force_busy=yes
	#oe=yes

# conn for simulating OE.
# only used in test oe-fail-without-resp-client-txt-01
conn simulate-OE-east-west-1
	left=192.1.2.23		# east's public
	leftrsasigkey=%dnsondemand
	right=192.1.2.45	# west's public
	rightrsasigkey=%dnsondemand
	rightsubnet=192.0.1.1/32	# sunset's non-OE
	keyingtries=1	# fail quickly


conn westnet-eastnet-aggr
	aggrmode=yes
	ike=3des-sha1-modp1536
	also=westnet-eastnet

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

conn us
	rightsubnet=192.0.2.0/24

conn them
	leftsubnet=192.0.1.0/24

