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

version 2.0

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

conn westnet-eastnet-ikev2a
	also=west-east-base
	also=westnet
	also=eastnet
	ikev2=insist
	authby=secret

conn westnet-eastnet-ikev2b
	also=west-east-base
	rightsubnet=192.0.200.0/24
	leftsubnet=192.0.100.0/24
	ikev2=insist
	authby=secret

conn westnet-eastnet-ikev2c
	also=west-east-base
	rightsubnet=192.0.201.0/24
	leftsubnet=192.0.101.0/24
	ikev2=insist
	authby=secret


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