| 1 |
# /etc/ipsec.conf - Libreswan IPsec configuration file |
| 2 |
|
| 3 |
config setup |
| 4 |
logfile=/tmp/pluto.log |
| 5 |
logtime=no |
| 6 |
logappend=no |
| 7 |
dumpdir=/tmp |
| 8 |
plutodebug=all |
| 9 |
# xfrmlifetime cannot be used since namespaces doesn't run stackmanager |
| 10 |
|
| 11 |
conn labeled |
| 12 |
also=west-east |
| 13 |
type=transport |
| 14 |
policy-label=system_u:object_r:ipsec_spd_t:s0 |
| 15 |
|
| 16 |
conn west-east |
| 17 |
left=192.1.2.45 |
| 18 |
right=192.1.2.23 |
| 19 |
# Left security gateway, subnet behind it, next hop toward right. |
| 20 |
leftid=@west |
| 21 |
# Right security gateway, subnet behind it, next hop toward left. |
| 22 |
rightid=@east |
| 23 |
also=west-leftrsasigkey |
| 24 |
also=east-rightrsasigkey |
| 25 |
#auto=start |
| 26 |
|
| 27 |
include /testing/baseconfigs/all/etc/ipsec.d/rsasigkey.conf |