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