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