summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-09-27 16:02:22 +0200
committerGitHub <noreply@github.com>2022-09-27 16:02:22 +0200
commitc22f9d76fb771ed22b62ed1ca4205fa7590cf816 (patch)
tree3d145e6435e6cd9a1e5eb4733319f4eb16f69b60 /interface-definitions/include/firewall
parent5fe0e9c163ee2f8229e298fc20dbfe6746c2cdcc (diff)
parent3f6b5b5cec7eed685ae11202197b760a46e02137 (diff)
downloadvyos-1x-c22f9d76fb771ed22b62ed1ca4205fa7590cf816.tar.gz
vyos-1x-c22f9d76fb771ed22b62ed1ca4205fa7590cf816.zip
Merge pull request #1560 from nicolas-fort/T4700
T4700: Firewall: add interface matching criteria
Diffstat (limited to 'interface-definitions/include/firewall')
-rw-r--r--interface-definitions/include/firewall/common-rule.xml.i16
1 files changed, 16 insertions, 0 deletions
diff --git a/interface-definitions/include/firewall/common-rule.xml.i b/interface-definitions/include/firewall/common-rule.xml.i
index 079864122..a4f66f5cb 100644
--- a/interface-definitions/include/firewall/common-rule.xml.i
+++ b/interface-definitions/include/firewall/common-rule.xml.i
@@ -26,6 +26,14 @@
</leafNode>
</children>
</node>
+<leafNode name="inbound-interface">
+ <properties>
+ <help>Match inbound-interface</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces.py</script>
+ </completionHelp>
+ </properties>
+</leafNode>
<node name="ipsec">
<properties>
<help>Inbound IPsec packets</help>
@@ -122,6 +130,14 @@
</leafNode>
</children>
</node>
+<leafNode name="outbound-interface">
+ <properties>
+ <help>Match outbound-interface</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces.py</script>
+ </completionHelp>
+ </properties>
+</leafNode>
<leafNode name="protocol">
<properties>
<help>Protocol to match (protocol name, number, or "all")</help>