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

config setup
	plutodebug="all"
	logtime=no
	logappend=no
	plutorestartoncrash=no
	logfile=/tmp/pluto.log
	dumpdir=/tmp
	protostack=netkey

conn westnet-eastnet-ikev2
	left=192.1.2.45
	leftid="%null"
	leftsubnet=192.0.1.0/24
	leftauth=null
	right=192.1.2.23
	rightid="%fromcert"
	rightsubnet=192.0.2.0/24
	rightauth=rsasig
	type=tunnel
	ikev2=insist
