summaryrefslogtreecommitdiff
path: root/data/templates/ipsec/swanctl/remote_access.tmpl
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2021-09-13 13:51:49 +0200
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2021-09-13 14:23:54 +0200
commit2e68b070f1531c87d5976213565d9b929c5589ab (patch)
tree8e9f48b32cb2cb6832b07babaf282120fa14e5ed /data/templates/ipsec/swanctl/remote_access.tmpl
parentf86b7314d025fd0cf11c2d91638ed3cc7c4fa507 (diff)
downloadvyos-1x-2e68b070f1531c87d5976213565d9b929c5589ab.tar.gz
vyos-1x-2e68b070f1531c87d5976213565d9b929c5589ab.zip
ipsec: T3828: Use IKE dh-group when ESP dh-group is set to `enable`
Diffstat (limited to 'data/templates/ipsec/swanctl/remote_access.tmpl')
-rw-r--r--data/templates/ipsec/swanctl/remote_access.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/ipsec/swanctl/remote_access.tmpl b/data/templates/ipsec/swanctl/remote_access.tmpl
index 4fdc2a276..6354c60b1 100644
--- a/data/templates/ipsec/swanctl/remote_access.tmpl
+++ b/data/templates/ipsec/swanctl/remote_access.tmpl
@@ -35,7 +35,7 @@
}
children {
ikev2-vpn {
- esp_proposals = {{ esp | get_esp_ike_cipher | join(',') }}
+ esp_proposals = {{ esp | get_esp_ike_cipher(ike) | join(',') }}
rekey_time = {{ esp.lifetime }}s
rand_time = 540s
dpd_action = clear