From 9975ad209704ab9d0fda32324d0432f257c67668 Mon Sep 17 00:00:00 2001 From: Nicolas Fort Date: Fri, 20 Oct 2023 20:02:36 +0000 Subject: T5541: firewall: re-add zone-based firewall. --- interface-definitions/firewall.xml.in | 142 ++++++++++++++++++++++++++++++++++ 1 file changed, 142 insertions(+) (limited to 'interface-definitions/firewall.xml.in') diff --git a/interface-definitions/firewall.xml.in b/interface-definitions/firewall.xml.in index 127f4b7e7..b0e6358d8 100644 --- a/interface-definitions/firewall.xml.in +++ b/interface-definitions/firewall.xml.in @@ -306,6 +306,148 @@ #include + + + Zone-policy + + txt + Zone name + + + [a-zA-Z0-9][\w\-\.]* + + + + #include + #include + + + Default-action for traffic coming into this zone + + drop reject + + + drop + Drop silently + + + reject + Drop and notify source + + + (drop|reject) + + + drop + + + + Zone from which to filter traffic + + zone-policy zone + + + + + + Firewall options + + + + + IPv6 firewall ruleset + + firewall ipv6 name + + + + + + IPv4 firewall ruleset + + firewall ipv4 name + + + + + + + + + + Interface associated with zone + + txt + Interface associated with zone + + + vrf + VRF associated with zone + + + + vrf name + + + + + + + Intra-zone filtering + + + + + Action for intra-zone traffic + + accept drop + + + accept + Accept traffic + + + drop + Drop silently + + + (accept|drop) + + + + + + Use the specified firewall chain + + + + + IPv6 firewall ruleset + + firewall ipv6 name + + + + + + IPv4 firewall ruleset + + firewall ipv4 name + + + + + + + + + + Zone to be local-zone + + + + + -- cgit v1.2.3