| 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 | leftnexthop=192.1.2.23 |
| 17 | right=192.1.2.23 |
| 18 | rightnexthop=192.1.2.45 |
| 19 | # Left security gateway, subnet behind it, next hop toward right. |
| 20 | leftid=@west |
| 21 | # Right security gateway, subnet behind it, next hop toward left. |
| 22 | rightid=@east |
| 23 | also=west-leftrsasigkey |
| 24 | also=east-rightrsasigkey |
| 25 | leftsubnet=192.0.1.0/24 |
| 26 | rightsubnet=192.0.2.0/24 |
| 27 | authby=secret |
| 28 | phase2=ah |
| 29 | #ah=sha2_512;modp3072 |
| 30 | |
| 31 | include /testing/baseconfigs/all/etc/ipsec.d/rsasigkey.conf |