summaryrefslogtreecommitdiff
path: root/data/templates/ipsec/swanctl/remote_access.j2
diff options
context:
space:
mode:
authorLucas Christian <lucas@lucasec.com>2024-02-08 22:04:16 -0800
committerLucas Christian <lucas@lucasec.com>2024-03-10 11:40:23 -0700
commitcd8ef21f280f726955f537132e3fab2bcb3c286f (patch)
tree41c8a313e08b35ea58c292ea519fb72e1ddc5281 /data/templates/ipsec/swanctl/remote_access.j2
parentf7834324d3d9edd7e161e7f2f3868452997c9c81 (diff)
downloadvyos-1x-cd8ef21f280f726955f537132e3fab2bcb3c286f.tar.gz
vyos-1x-cd8ef21f280f726955f537132e3fab2bcb3c286f.zip
T5872: fix ipsec dhclient exit hook
Diffstat (limited to 'data/templates/ipsec/swanctl/remote_access.j2')
-rw-r--r--data/templates/ipsec/swanctl/remote_access.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/ipsec/swanctl/remote_access.j2 b/data/templates/ipsec/swanctl/remote_access.j2
index af7f2994e..d1d6d2478 100644
--- a/data/templates/ipsec/swanctl/remote_access.j2
+++ b/data/templates/ipsec/swanctl/remote_access.j2
@@ -4,7 +4,7 @@
{% set esp = esp_group[rw_conf.esp_group] %}
ra-{{ name }} {
remote_addrs = %any
- local_addrs = {{ rw_conf.local_address if rw_conf.local_address is not vyos_defined('any') else '%any' }} # dhcp:{{ rw_conf.dhcp_interface if rw_conf.dhcp_interface is vyos_defined else 'no' }}
+ local_addrs = {{ rw_conf.local_address if rw_conf.local_address is not vyos_defined('any') else '%any' }} # dhcp:{{ rw_conf.dhcp_interface if rw_conf.dhcp_interface is vyos_defined else 'no' }} reset:ra-{{ name }}
proposals = {{ ike_group[rw_conf.ike_group] | get_esp_ike_cipher | join(',') }}
version = {{ ike.key_exchange[4:] if ike.key_exchange is vyos_defined else "0" }}
send_certreq = no