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

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

conn westnet-northnet-ipv4-psk
	leftid=@west
	rightid=@east
	authby=secret
	left=192.1.2.45
	leftsubnet=192.0.1.0/24
	leftnexthop=192.1.2.23
	right=192.1.2.23
	rightsubnet=192.0.3.0/24
	rightnexthop=192.1.2.45
	ikev2=insist

conn northnet-westnet-ipv4-psk
	leftid=@north
	rightid=@east
	authby=secret
	left=192.1.3.33
	leftsubnet=192.0.3.0/24
	right=192.1.2.23
	rightsubnet=192.0.1.0/24
	ikev2=insist
