| 1 |
# /usr/local/strongswan/etc/ipsec.conf - Strongswan IPsec configuration file |
| 2 |
|
| 3 |
conn westnet-eastnet-ikev1 |
| 4 |
keyexchange=ikev1 |
| 5 |
left=192.1.2.45 |
| 6 |
leftid=@west |
| 7 |
#obsoleted option leftnexthop=192.1.2.23 |
| 8 |
# Right security gateway, subnet behind it, next hop toward left. |
| 9 |
right=192.1.2.23 |
| 10 |
rightid=@east |
| 11 |
#obsoleted option rightnexthop=192.1.2.45 |
| 12 |
rightsubnet=192.0.2.0/24 |
| 13 |
leftsubnet=192.0.1.0/24 |
| 14 |
authby=secret |
| 15 |
keyexchange=ikev1 |
| 16 |
auto=add |
| 17 |
# because strongswan doesn't do pfs=yes per default, unless you specify modp |
| 18 |
esp=aes128-sha1-modp2048 |
| 19 |
|