| 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 old-ca |
| 15 |
also=old-common |
| 16 |
rightcert=east |
| 17 |
left=%any |
| 18 |
leftca=CN=old-ca |
| 19 |
|
| 20 |
conn old-west |
| 21 |
also=old-common |
| 22 |
leftcert=old-west |
| 23 |
left=192.1.2.45 |
| 24 |
|
| 25 |
conn old-common |
| 26 |
# LEFT topology |
| 27 |
leftsourceip=192.0.1.254 |
| 28 |
leftsubnet=192.0.1.0/24 |
| 29 |
also=common |
| 30 |
|
| 31 |
conn new-ca |
| 32 |
also=new-common |
| 33 |
rightcert=east |
| 34 |
left=%any |
| 35 |
leftca=CN=new-ca |
| 36 |
|
| 37 |
conn new-west |
| 38 |
also=new-common |
| 39 |
leftcert=new-west |
| 40 |
left=192.1.2.45 |
| 41 |
|
| 42 |
conn new-common |
| 43 |
# LEFT topology |
| 44 |
leftsourceip=192.0.2.254 |
| 45 |
leftsubnet=192.0.2.0/24 |
| 46 |
also=common |
| 47 |
|
| 48 |
conn hog-ca |
| 49 |
also=hog-common |
| 50 |
rightcert=east |
| 51 |
left=%any |
| 52 |
leftca=CN=hog-ca |
| 53 |
leftgroundhog=yes |
| 54 |
|
| 55 |
conn hog-west |
| 56 |
also=hog-common |
| 57 |
leftcert=hog-west |
| 58 |
left=192.1.2.45 |
| 59 |
|
| 60 |
conn hog-common |
| 61 |
# LEFT topology |
| 62 |
leftsourceip=192.0.3.254 |
| 63 |
leftsubnet=192.0.3.0/24 |
| 64 |
also=common |
| 65 |
|
| 66 |
conn common |
| 67 |
# RIGHT topology |
| 68 |
right=192.1.2.23 |
| 69 |
rightsourceip=192.0.2.254 |
| 70 |
rightsubnet=192.0.2.0/24 |
| 71 |
# authentication |
| 72 |
authby=rsasig |
| 73 |
leftid=%fromcert |
| 74 |
leftrsasigkey=%cert |
| 75 |
rightid=%fromcert |
| 76 |
rightrsasigkey=%cert |
| 77 |
leftsendcert=always |
| 78 |
rightsendcert=always |