| 1 |
# /usr/local/strongswan/etc/ipsec.conf - Strongswan IPsec configuration file |
| 2 |
|
| 3 |
conn westnet-eastnet-ikev2 |
| 4 |
left=192.1.2.45 |
| 5 |
leftid="C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=west.testing.libreswan.org, [email protected]" |
| 6 |
leftcert=/etc/strongswan/ipsec.d/certs/west.crt |
| 7 |
leftsubnet=192.0.1.0/24 |
| 8 |
right=192.1.2.23 |
| 9 |
rightid="C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, [email protected]" |
| 10 |
rightsubnet=192.0.2.0/24 |
| 11 |
authby=ecdsasig |
| 12 |
keyexchange=ikev2 |
| 13 |
auto=add |
| 14 |
esp=aes128-sha2_512 |
| 15 |
ike=3des-md5-modp2048 |
| 16 |
fragmentation=yes |
| 17 |
leftsendcert=always |
| 18 |
rightsendcert=always |