| 1 | # /etc/ipsec.conf - Libreswan IPsec configuration file |
| 2 | |
| 3 | version 2.0 |
| 4 | |
| 5 | config setup |
| 6 | ikev1-policy=accept |
| 7 | # put the logs in /var/tmp for the UMLs, so that we can operate |
| 8 | # without syslogd, which seems to break on UMLs |
| 9 | plutodebug=all |
| 10 | logfile=/tmp/pluto.log |
| 11 | logtime=no |
| 12 | logappend=no |
| 13 | dumpdir=/var/tmp |
| 14 | |
| 15 | conn ikev2-westnet-eastnet-x509-cr |
| 16 | # pretend wildcard or else leftid will become its IP |
| 17 | left=%any |
| 18 | leftid=%any |
| 19 | leftsubnet=192.0.1.0/24 |
| 20 | leftsendcert=always |
| 21 | rightcert=east-nosan |
| 22 | rightsendcert=always |
| 23 | right=192.1.2.23 |
| 24 | rightsubnet=192.0.2.0/24 |
| 25 | authby=rsasig |
| 26 | keyexchange=ikev1 |
| 27 | require-id-on-certificate=no |
| 28 |