| 1 | # /etc/ipsec.conf - Libreswan IPsec configuration file |
| 2 | |
| 3 | version 2.0 |
| 4 | |
| 5 | config setup |
| 6 | # put the logs in /tmp for the UMLs, so that we can operate |
| 7 | # without syslogd, which seems to break on UMLs |
| 8 | logfile=/tmp/pluto.log |
| 9 | logtime=no |
| 10 | logappend=no |
| 11 | plutodebug=all |
| 12 | dumpdir=/tmp |
| 13 | |
| 14 | conn westnet-eastnet-ikev2 |
| 15 | left=192.1.2.45 |
| 16 | leftsubnet=192.0.1.0/24 |
| 17 | leftauth=secret |
| 18 | right=192.1.2.23 |
| 19 | rightid="C=CA/ST=Ontario/L=Toronto/O=Libreswan/OU=Test Department/CN=east.testing.libreswan.org/[email protected]" |
| 20 | rightsubnet=192.0.2.0/24 |
| 21 | rightcert=east |
| 22 | rightauth=rsasig |
| 23 | # avoid invalid_ke retransmit, strongswan now refuses modp2048 |
| 24 | ike=aes-sha2;modp3072 |