| 1 |
# /etc/ipsec.conf - Libreswan IPsec configuration file |
| 2 |
|
| 3 |
version 2.0 |
| 4 |
|
| 5 |
config setup |
| 6 |
logfile=/tmp/pluto.log |
| 7 |
logtime=yes |
| 8 |
logappend=no |
| 9 |
plutodebug=all,private,crypt |
| 10 |
dumpdir=/tmp |
| 11 |
|
| 12 |
conn westnet-eastnet |
| 13 |
left=192.1.2.45 |
| 14 |
leftnexthop=192.1.2.23 |
| 15 |
right=192.1.2.23 |
| 16 |
rightnexthop=192.1.2.45 |
| 17 |
# Left security gateway, subnet behind it, next hop toward right. |
| 18 |
leftid=@west |
| 19 |
# Right security gateway, subnet behind it, next hop toward left. |
| 20 |
rightid=@east |
| 21 |
also=west-leftrsasigkey |
| 22 |
also=east-rightrsasigkey |
| 23 |
leftsubnet=192.0.1.0/24 |
| 24 |
rightsubnet=192.0.2.0/24 |
| 25 |
authby=secret |
| 26 |
ike=aes256-sha2_512;modp2048 |
| 27 |
esp=aes256-sha2_512;modp2048 |
| 28 |
# to test on 3.29 timer based rekey |
| 29 |
# rekeymargin=10 |
| 30 |
# keyingtries=1 |
| 31 |
# salifetime=20 |
| 32 |
rekeyfuzz=0% |
| 33 |
|
| 34 |
include /testing/baseconfigs/all/etc/ipsec.d/rsasigkey.conf |