| 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,crypt |
| 12 |
dumpdir=/tmp |
| 13 |
|
| 14 |
conn common |
| 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 |
leftsubnet=192.0.1.0/24 |
| 20 |
rightsubnet=192.0.2.0/24 |
| 21 |
ike=aes-sha1;modp2048 |
| 22 |
phase2=ah |
| 23 |
leftid=@west |
| 24 |
rightid=@east |
| 25 |
authby=secret |
| 26 |
|
| 27 |
conn ah=md5 |
| 28 |
also=common |
| 29 |
ah=md5 |
| 30 |
|
| 31 |
conn ah=sha1 |
| 32 |
also=common |
| 33 |
ah=sha1 |
| 34 |
|