| 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-chacha |
| 15 | leftsubnet=192.0.1.0/24 |
| 16 | rightsubnet=192.0.2.0/24 |
| 17 | leftid=@west |
| 18 | rightid=@east |
| 19 | authby=secret |
| 20 | left=192.1.2.45 |
| 21 | leftnexthop=192.1.2.23 |
| 22 | right=192.1.2.23 |
| 23 | rightnexthop=192.1.2.45 |
| 24 | ike=chacha20_poly1305-sha2_256 |
| 25 | esp=chacha20_poly1305 |
| 26 | keyexchange=ikev2 |
| 27 |