algo/roles/strongswan/templates/client_ipsec.conf.j2
Jack Ivanov 38d8a6d0e2 Deprecate IKEv2 for Windows (#1521)
* Windows to WireGuard

* Add note about WireGuard

* change wireguard faq

* Clarify Windows instructions

* Correct Wireguard description

* Update README.md
2019-07-31 11:28:33 -04:00

24 lines
505 B
Django/Jinja

conn algovpn-{{ IP_subject_alt_name }}
fragmentation=yes
rekey=no
dpdaction=clear
keyexchange=ikev2
compress=no
dpddelay=35s
ike={{ ciphers.defaults.ike }}
esp={{ ciphers.defaults.esp }}
right={{ IP_subject_alt_name }}
rightid={{ IP_subject_alt_name }}
rightsubnet={{ rightsubnet | default('0.0.0.0/0') }}
rightauth=pubkey
leftsourceip=%config
leftauth=pubkey
leftcert={{ item }}.crt
leftfirewall=yes
left=%defaultroute
auto=add