summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2023-07-19 14:25:55 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2023-07-19 14:25:55 +0000
commit4c61fa82f59e26023993be56be1ff9bf0cb5251e (patch)
tree30e26a9402846adde666e44bb5619ab9a6fda1c2 /interface-definitions
parent8cf1a827e09f57efd5a4c38226048d15ebbf4a21 (diff)
downloadvyos-1x-4c61fa82f59e26023993be56be1ff9bf0cb5251e.tar.gz
vyos-1x-4c61fa82f59e26023993be56be1ff9bf0cb5251e.zip
T4899: NAT Redirect: adddestination nat redirection (to local host) feature.
Diffstat (limited to 'interface-definitions')
-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>