| 1 |
# /etc/ipsec.conf - Libreswan IPsec configuration file |
| 2 |
|
| 3 |
config setup |
| 4 |
ikev1-policy=accept |
| 5 |
logfile=/tmp/pluto.log |
| 6 |
logtime=no |
| 7 |
logappend=no |
| 8 |
plutodebug=all |
| 9 |
|
| 10 |
conn nss-cert-ocsp |
| 11 |
keyexchange=ikev1 |
| 12 |
# Left security gateway, subnet behind it, next hop toward right. |
| 13 |
left=192.1.2.45 |
| 14 |
leftcert=revoked |
| 15 |
leftsubnet=192.0.1.254/32 |
| 16 |
leftid=%fromcert |
| 17 |
leftnexthop=192.1.2.23 |
| 18 |
leftsourceip=192.0.1.254 |
| 19 |
# Right security gateway, subnet behind it, next hop toward left. |
| 20 |
right=192.1.2.23 |
| 21 |
rightid=%fromcert |
| 22 |
#rightcert=east |
| 23 |
rightnexthop=192.1.2.45 |
| 24 |
rightsubnet=192.0.2.254/32 |
| 25 |
rightsourceip=192.0.2.254 |
| 26 |
# test specific options |
| 27 |
leftsendcert=always |
| 28 |
rightsendcert=always |