From eabc5f1c2e5bfe548cb3d62f2f85f8d61be29b92 Mon Sep 17 00:00:00 2001
From: Simon <965089+sarthurdev@users.noreply.github.com>
Date: Fri, 28 May 2021 16:35:12 +0200
Subject: ipsec: T2816: IPSec python rework, includes DMVPN and VTI support
---
interface-definitions/include/ip-protocol.xml.i | 17 +++++++
interface-definitions/ipsec-settings.xml.in | 1 +
interface-definitions/vpn_ipsec.xml.in | 61 ++++++++++++++-----------
interface-definitions/vpn_rsa-keys.xml.in | 46 +++++++++++++++++++
4 files changed, 99 insertions(+), 26 deletions(-)
create mode 100644 interface-definitions/include/ip-protocol.xml.i
create mode 100644 interface-definitions/vpn_rsa-keys.xml.in
(limited to 'interface-definitions')
diff --git a/interface-definitions/include/ip-protocol.xml.i b/interface-definitions/include/ip-protocol.xml.i
new file mode 100644
index 000000000..ce9345024
--- /dev/null
+++ b/interface-definitions/include/ip-protocol.xml.i
@@ -0,0 +1,17 @@
+
+
+
+ Protocol
+
+ txt
+ Protocol name
+
+
+
+
+
+
+
+
+
+
diff --git a/interface-definitions/ipsec-settings.xml.in b/interface-definitions/ipsec-settings.xml.in
index bc54baa27..0bcba9a84 100644
--- a/interface-definitions/ipsec-settings.xml.in
+++ b/interface-definitions/ipsec-settings.xml.in
@@ -7,6 +7,7 @@
Global IPsec settings
+ 902
diff --git a/interface-definitions/vpn_ipsec.xml.in b/interface-definitions/vpn_ipsec.xml.in
index 426d7e71c..5bf0ef9ba 100644
--- a/interface-definitions/vpn_ipsec.xml.in
+++ b/interface-definitions/vpn_ipsec.xml.in
@@ -1,10 +1,15 @@
+
+ Virtual Private Network (VPN)
+ 900
+
-
+
VPN IP security (IPsec) parameters
+ 901
@@ -296,7 +301,7 @@
yes
- Enable remote host re-autentication during an IKE rekey. Currently broken due to a strong swan bug
+ Enable remote host re-authentication during an IKE rekey. Currently broken due to a strongswan bug
no
@@ -386,6 +391,7 @@
+ 2
dh-grouphelp
@@ -621,7 +627,7 @@
- Network Address Translation (NAT) networks
+ Network Address Translation (NAT) networks (Obsolete)
@@ -655,7 +661,7 @@
- Network Address Translation (NAT) traversal
+ Network Address Translation (NAT) traversal (Obsolete)
disable enable
@@ -695,19 +701,18 @@
Authentication [REQUIRED]
-
+
Authentication mode
+
+ pre-shared-secret
+
+
+ pre-shared-secret
+ Use pre shared secret key
+
-
-
-
- Use pre-shared secret key
-
-
-
-
-
+
Pre-shared secret key
@@ -724,17 +729,21 @@
DMVPN crypto configuration
-
+
- bind_child_help
-
+ Tunnel interface associated with this configuration profile
+
+ txt
+ Tunnel interface associated with this configuration profile
+
+
- Esp group name [REQUIRED]
+ ESP group name [REQUIRED]
vpn ipsec esp-group
@@ -742,7 +751,7 @@
- Ike group name [REQUIRED]
+ IKE group name [REQUIRED]
vpn ipsec ike-group
@@ -909,6 +918,9 @@
Defult ESP group name
+
+ vpn ipsec esp-group
+
@@ -920,7 +932,9 @@
DHCP interface to listen on
-
+
+
+
@@ -1091,12 +1105,7 @@
-
-
- Protocol to encrypt
-
-
-
+ #include
Remote parameters for interesting traffic
diff --git a/interface-definitions/vpn_rsa-keys.xml.in b/interface-definitions/vpn_rsa-keys.xml.in
new file mode 100644
index 000000000..f65ae4b5a
--- /dev/null
+++ b/interface-definitions/vpn_rsa-keys.xml.in
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+ RSA keys
+
+
+
+
+ Local RSA key
+
+
+
+
+ Local RSA key file location
+
+ txt
+ File in /config/auth or /config/ipsec.d/rsa-keys
+
+
+
+
+
+
+
+ Name of remote RSA key
+
+
+
+
+ Remote RSA key
+
+ txt
+ Remote RSA key
+
+
+
+
+
+
+
+
+
+
--
cgit v1.2.3