| 1 |
# /usr/local/strongswan/etc/ipsec.conf - Strongswan IPsec configuration file |
| 2 |
|
| 3 |
conn westnet-eastnet-ikev2-esp-null |
| 4 |
left=192.1.2.45 |
| 5 |
leftid=@west |
| 6 |
#obsoleted option leftnexthop=192.1.2.23 |
| 7 |
# Right security gateway, subnet behind it, next hop toward left. |
| 8 |
right=192.1.2.23 |
| 9 |
rightid=@east |
| 10 |
#obsoleted option rightnexthop=192.1.2.45 |
| 11 |
rightsubnet=192.0.2.0/24 |
| 12 |
leftsubnet=192.0.1.0/24 |
| 13 |
authby=secret |
| 14 |
keyexchange=ikev2 |
| 15 |
auto=add |
| 16 |
fragmentation=yes |
| 17 |
ike=aes-sha1-modp2048 |
| 18 |
ah=md5-modp2048,sha1-modp2048 |
| 19 |
|