| 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 |
leftid="C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=west.testing.libreswan.org, [email protected]" |
| 17 |
rightid="C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, [email protected]" |
| 18 |
leftsubnet=192.0.1.0/24 |
| 19 |
# Next line should not be needed |
| 20 |
#leftcert=west |
| 21 |
leftrsasigkey=%cert |
| 22 |
right=192.1.2.23 |
| 23 |
rightcert=east |
| 24 |
rightsubnet=192.0.2.0/24 |
| 25 |
authby=ecdsa-sha2_384 |
| 26 |
rightsendcert=always |
| 27 |
leftsendcert=always |
| 28 |
|