summaryrefslogtreecommitdiff
path: root/docs/configuration/policy/route.rst
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2023-03-14 21:29:45 +0100
committerGitHub <noreply@github.com>2023-03-14 21:29:45 +0100
commite0205c67c7a7dbb30514a7429e584fe85e772030 (patch)
treed40e1aafbaa98141ecfd7047a77022a3cf0d621f /docs/configuration/policy/route.rst
parent53a33f16ad38eee6a541a54eaa156fc3965809d7 (diff)
parent3f7160d467f7d065795b8f2cf3474eb4e51b102b (diff)
downloadvyos-documentation-e0205c67c7a7dbb30514a7429e584fe85e772030.tar.gz
vyos-documentation-e0205c67c7a7dbb30514a7429e584fe85e772030.zip
Merge pull request #966 from nicolas-fort/firewall-update
Update missing matcher options in firewall and policy route: packet-l…
Diffstat (limited to 'docs/configuration/policy/route.rst')
-rw-r--r--docs/configuration/policy/route.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/configuration/policy/route.rst b/docs/configuration/policy/route.rst
index a6330c57..1a85ffc6 100644
--- a/docs/configuration/policy/route.rst
+++ b/docs/configuration/policy/route.rst
@@ -168,6 +168,21 @@ And for ipv6:
``tcp_udp`` for tcp and udp based packets. The ``!`` negates the selected
protocol.
+.. cfgcmd:: set policy route <name> rule <n> packet-length <text>
+.. cfgcmd:: set policy route6 <name> rule <n> packet-length <text>
+.. cfgcmd:: set policy route <name> rule <n> packet-length-exclude <text>
+.. cfgcmd:: set policy route6 <name> rule <n> packet-length-exclude <text>
+
+ Match based on packet length criteria. Multiple values from 1 to 65535
+ and ranges are supported.
+
+.. cfgcmd:: set policy route <name> rule <n> packet-type [broadcast | host
+ | multicast | other]
+.. cfgcmd:: set policy route6 <name> rule <n> packet-type [broadcast | host
+ | multicast | other]
+
+ Match based on packet type criteria.
+
.. cfgcmd:: set policy route <name> rule <n> recent count <1-255>
.. cfgcmd:: set policy route6 <name> rule <n> recent count <1-255>
.. cfgcmd:: set policy route <name> rule <n> recent time <1-4294967295>