| 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 /tmp for the UMLs, so that we can operate |
| 8 |
# without syslogd, which seems to break on UMLs |
| 9 |
logfile=/tmp/pluto.log |
| 10 |
logtime=no |
| 11 |
logappend=no |
| 12 |
plutodebug=all |
| 13 |
dumpdir=/tmp |
| 14 |
|
| 15 |
conn westnet-eastnet-ikev1 |
| 16 |
keyexchange=ikev1 |
| 17 |
left=192.1.2.45 |
| 18 |
leftnexthop=192.1.2.23 |
| 19 |
right=192.1.2.23 |
| 20 |
rightnexthop=192.1.2.45 |
| 21 |
# Left security gateway, subnet behind it, next hop toward right. |
| 22 |
leftid=@west |
| 23 |
# Right security gateway, subnet behind it, next hop toward left. |
| 24 |
rightid=@east |
| 25 |
also=west-leftrsasigkey |
| 26 |
also=east-rightrsasigkey |
| 27 |
leftsubnet=192.0.1.0/24 |
| 28 |
rightsubnet=192.0.2.0/24 |
| 29 |
authby=secret |
| 30 |
#auto=start |
| 31 |
|
| 32 |
include /testing/baseconfigs/all/etc/ipsec.d/rsasigkey.conf |