summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2022-09-26 11:41:15 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2022-09-26 11:41:15 +0000
commit3f6b5b5cec7eed685ae11202197b760a46e02137 (patch)
treeec7b1d986b1a4d5fd7458500f2efae1e317b1384 /interface-definitions/include/firewall
parent8f2f6303229814c03494369c51cedd31703406ec (diff)
downloadvyos-1x-3f6b5b5cec7eed685ae11202197b760a46e02137.tar.gz
vyos-1x-3f6b5b5cec7eed685ae11202197b760a46e02137.zip
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>