| 1 |
# /etc/ipsec.conf - Libreswan IPsec configuration file |
| 2 |
|
| 3 |
version 2.0 |
| 4 |
|
| 5 |
config setup |
| 6 |
# put the logs in /var/tmp for the UMLs, so that we can operate |
| 7 |
# without syslogd, which seems to break on UMLs |
| 8 |
plutodebug=all |
| 9 |
logfile=/tmp/pluto.log |
| 10 |
logtime=no |
| 11 |
logappend=no |
| 12 |
dumpdir=/var/tmp |
| 13 |
|
| 14 |
conn east |
| 15 |
also=common |
| 16 |
rightcert=east |
| 17 |
left=%any |
| 18 |
leftgroundhog=yes |
| 19 |
|
| 20 |
conn new-west |
| 21 |
also=common |
| 22 |
leftcert=new-west |
| 23 |
left=192.1.2.45 |
| 24 |
|
| 25 |
conn old-west |
| 26 |
also=common |
| 27 |
leftcert=old-west |
| 28 |
left=192.1.2.45 |
| 29 |
|
| 30 |
conn common |
| 31 |
authby=rsasig |
| 32 |
# LEFT topology |
| 33 |
leftnexthop=192.1.2.23 |
| 34 |
leftsourceip=192.0.1.254 |
| 35 |
leftsubnet=192.0.1.0/24 |
| 36 |
# RIGHT topology |
| 37 |
right=192.1.2.23 |
| 38 |
rightnexthop=192.1.2.45 |
| 39 |
rightsourceip=192.0.2.254 |
| 40 |
rightsubnet=192.0.2.0/24 |
| 41 |
# authentication |
| 42 |
leftid=%fromcert |
| 43 |
leftrsasigkey=%cert |
| 44 |
rightid=%fromcert |
| 45 |
rightrsasigkey=%cert |
| 46 |
leftsendcert=always |
| 47 |
rightsendcert=always |