summaryrefslogtreecommitdiff
path: root/interface-definitions/nat.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-07-22 08:41:10 +0200
committerGitHub <noreply@github.com>2023-07-22 08:41:10 +0200
commit0ca6a8c2fdcdd5b2efe875831236504c161099a4 (patch)
tree7c07a345e193114d0a12d1486a5f51c86a9256f4 /interface-definitions/nat.xml.in
parentc59765163885cc5bc54df9b194366f8713d065a1 (diff)
parent4c61fa82f59e26023993be56be1ff9bf0cb5251e (diff)
downloadvyos-1x-0ca6a8c2fdcdd5b2efe875831236504c161099a4.tar.gz
vyos-1x-0ca6a8c2fdcdd5b2efe875831236504c161099a4.zip
Merge pull request #2100 from nicolas-fort/T4889
T4889: NAT Redirect: adddestination nat redirection (to local host) feature.
Diffstat (limited to 'interface-definitions/nat.xml.in')
-rw-r--r--interface-definitions/nat.xml.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/interface-definitions/nat.xml.in b/interface-definitions/nat.xml.in
index 501ff05d3..a06ceefb6 100644
--- a/interface-definitions/nat.xml.in
+++ b/interface-definitions/nat.xml.in
@@ -44,6 +44,14 @@
</leafNode>
#include <include/nat-translation-port.xml.i>
#include <include/nat-translation-options.xml.i>
+ <node name="redirect">
+ <properties>
+ <help>Redirect to local host</help>
+ </properties>
+ <children>
+ #include <include/nat-translation-port.xml.i>
+ </children>
+ </node>
</children>
</node>
</children>