# /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
	logfile=/tmp/pluto.log
	logtime=no
	logappend=no
	plutodebug=all,crypt
	plutorestartoncrash=false
	dumpdir=/tmp
	protostack=netkey

conn westnet-eastnet-ikev2-md5-dh19
	also=west-east-base-ipv4
	also=west-east-base-id-psk
	also=westnet
	also=eastnet
	ikev2=insist
	ike=aes-md5;dh19

conn westnet-eastnet-ikev2-md5-dh20
	also=west-east-base-ipv4
	also=west-east-base-id-psk
	also=westnet
	also=eastnet
	ikev2=insist
	ike=aes-md5;dh20

conn westnet-eastnet-ikev2-md5-dh21
	also=west-east-base-ipv4
	also=west-east-base-id-psk
	also=westnet
	also=eastnet
	ikev2=insist
	ike=aes-md5;dh21

conn westnet-eastnet-ikev2-sha1-dh19
	also=west-east-base-ipv4
	also=west-east-base-id-psk
	also=westnet
	also=eastnet
	ikev2=insist
	ike=aes-sha1;dh19

conn westnet-eastnet-ikev2-sha1-dh20
	also=west-east-base-ipv4
	also=west-east-base-id-psk
	also=westnet
	also=eastnet
	ikev2=insist
	ike=aes-sha1;dh20

conn westnet-eastnet-ikev2-sha1-dh21
	also=west-east-base-ipv4
	also=west-east-base-id-psk
	also=westnet
	also=eastnet
	ikev2=insist
	ike=aes-sha1;dh21

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