| 1 | # /etc/ipsec.conf - Libreswan IPsec configuration file |
| 2 | |
| 3 | config setup |
| 4 | # put the logs in /tmp for the UMLs, so that we can operate |
| 5 | # without syslogd, which seems to break on UMLs |
| 6 | logfile=/tmp/pluto.log |
| 7 | logtime=no |
| 8 | logappend=no |
| 9 | plutodebug=all |
| 10 | dumpdir=/tmp |
| 11 | |
| 12 | conn westnet-eastnet-ikev2 |
| 13 | left=192.1.2.45 |
| 14 | leftsubnet=192.0.1.0/24 |
| 15 | leftid="C=CH, O=strongSwan, CN=west" |
| 16 | leftcert=west |
| 17 | leftauth=ecdsa |
| 18 | leftsendcert=always |
| 19 | leftca=%any |
| 20 | right=192.1.2.23 |
| 21 | rightsubnet=192.0.2.0/24 |
| 22 | rightid=%fromcert |
| 23 | rightca=%any |
| 24 | rightauth=rsa |