summaryrefslogtreecommitdiff
path: root/interface-definitions/nat.xml.in
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2023-10-10 17:35:30 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2023-10-11 09:44:28 +0000
commit2f2c3fa22478c7ba2e116486d655e07df878cdf4 (patch)
treef0c400df61a910651e4b890a583b88a3746cd8ab /interface-definitions/nat.xml.in
parent9ceba9ede21f4f89bd0b4ee614178b82cddb7d41 (diff)
downloadvyos-1x-2f2c3fa22478c7ba2e116486d655e07df878cdf4.tar.gz
vyos-1x-2f2c3fa22478c7ba2e116486d655e07df878cdf4.zip
T5643: nat: add interface-groups to nat. Use same cli structure for interface-name|interface-group as in firewall.
Diffstat (limited to 'interface-definitions/nat.xml.in')
-rw-r--r--interface-definitions/nat.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/nat.xml.in b/interface-definitions/nat.xml.in
index a06ceefb6..0a639bd80 100644
--- a/interface-definitions/nat.xml.in
+++ b/interface-definitions/nat.xml.in
@@ -14,7 +14,7 @@
#include <include/nat-rule.xml.i>
<tagNode name="rule">
<children>
- #include <include/inbound-interface.xml.i>
+ #include <include/firewall/inbound-interface.xml.i>
<node name="translation">
<properties>
<help>Inside NAT IP (destination NAT only)</help>
@@ -77,7 +77,7 @@
<constraintErrorMessage>NAT rule number must be between 1 and 999999</constraintErrorMessage>
</properties>
<children>
- #include <include/nat-interface.xml.i>
+ #include <include/firewall/outbound-interface.xml.i>
<node name="translation">
<properties>
<help>Outside NAT IP (source NAT only)</help>