| 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 |
ocsp-enable=yes |
| 10 |
ocsp-strict=yes |
| 11 |
|
| 12 |
conn nss-cert-ocsp |
| 13 |
keyexchange=ikev1 |
| 14 |
# Left security gateway, subnet behind it, next hop toward right. |
| 15 |
left=192.1.2.45 |
| 16 |
#leftcert=west |
| 17 |
leftsubnet=192.0.1.254/32 |
| 18 |
leftid=%fromcert |
| 19 |
leftnexthop=192.1.2.23 |
| 20 |
leftsourceip=192.0.1.254 |
| 21 |
# Right security gateway, subnet behind it, next hop toward left. |
| 22 |
right=192.1.2.23 |
| 23 |
rightid=%fromcert |
| 24 |
rightcert=east |
| 25 |
rightnexthop=192.1.2.45 |
| 26 |
rightsubnet=192.0.2.254/32 |
| 27 |
rightsourceip=192.0.2.254 |
| 28 |
# test specific options |
| 29 |
leftsendcert=always |
| 30 |
rightsendcert=always |