diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-03-28 17:08:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-28 17:08:33 +0100 |
commit | ba05d82eadce6f1efe68b18b30baa44e12ba70c9 (patch) | |
tree | bc274955026352d8644c467732ff9eddaae80d24 /data | |
parent | 6a637704fac75bec87d1dd5474c02efd7efbdeec (diff) | |
parent | 679b78356cbda4de15f96a7f22d4a98037dbeea4 (diff) | |
download | vyos-1x-ba05d82eadce6f1efe68b18b30baa44e12ba70c9.tar.gz vyos-1x-ba05d82eadce6f1efe68b18b30baa44e12ba70c9.zip |
Merge pull request #2965 from lucasec/t5872
T5872: ipsec remote access VPN: support dhcp-interface.
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/ipsec/swanctl/remote_access.j2 | 2 |
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 bce8684fe..af7f2994e 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 vyos_defined else '%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' }} 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 |