From 1c9677c82a5b2e4245ca49588b003f55d30692c2 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Tue, 30 May 2023 18:01:27 +0200 Subject: [PATCH] VPN: IPsec: Connections - Support the default selector ([dynamic]) when local_ts or remote_ts are left empty. closes https://github.com/opnsense/core/issues/6579 --- .../app/controllers/OPNsense/IPsec/forms/dialogChild.xml | 8 ++++++-- src/opnsense/mvc/app/models/OPNsense/IPsec/Swanctl.xml | 2 -- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/opnsense/mvc/app/controllers/OPNsense/IPsec/forms/dialogChild.xml b/src/opnsense/mvc/app/controllers/OPNsense/IPsec/forms/dialogChild.xml index 905424949..160456616 100644 --- a/src/opnsense/mvc/app/controllers/OPNsense/IPsec/forms/dialogChild.xml +++ b/src/opnsense/mvc/app/controllers/OPNsense/IPsec/forms/dialogChild.xml @@ -100,7 +100,9 @@ select_multiple true - List of local traffic selectors to include in CHILD_SA. Each selector is a CIDR subnet definition. + List of local traffic selectors to include in CHILD_SA. Each selector is a CIDR subnet definition. + When left empty the address will be replaced by the tunnel outer address or the virtual IP if negotiated ([dynamic]). + child.remote_ts @@ -108,7 +110,9 @@ select_multiple true - List of remote traffic selectors to include in CHILD_SA. Each selector is a CIDR subnet definition. + List of remote traffic selectors to include in CHILD_SA. Each selector is a CIDR subnet definition. + When left empty the address will be replaced by the tunnel outer address or the virtual IP if negotiated ([dynamic]) + child.rekey_time diff --git a/src/opnsense/mvc/app/models/OPNsense/IPsec/Swanctl.xml b/src/opnsense/mvc/app/models/OPNsense/IPsec/Swanctl.xml index 01f570651..c110d9100 100644 --- a/src/opnsense/mvc/app/models/OPNsense/IPsec/Swanctl.xml +++ b/src/opnsense/mvc/app/models/OPNsense/IPsec/Swanctl.xml @@ -304,13 +304,11 @@ Y - Y , Y N - Y , Y N