| 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 | auto=add |
| 16 | #ike=camellia256-sha1-modp2048! |
| 17 | ike=aes256-sha1-modp2048! |
| 18 | esp=camellia256-sha1-modp2048! |
| 19 |