mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-03 16:35:47 +02:00
Add tcfilter example with PRIORITY
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
4c906dc3d1
commit
af5eb575c2
@ -285,6 +285,23 @@
|
|||||||
1:10 ::/0 ::/0 icmp6 echo-reply</programlisting>
|
1:10 ::/0 ::/0 icmp6 echo-reply</programlisting>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term>Example 2:</term>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>Add two filters with priority 10 (Shorewall 4.5.8 or
|
||||||
|
later).</para>
|
||||||
|
|
||||||
|
<programlisting> #CLASS SOURCE DEST PROTO DEST PRIORITY
|
||||||
|
# PORT
|
||||||
|
|
||||||
|
IPV4
|
||||||
|
|
||||||
|
1:10 0.0.0.0/0 0.0.0.0/0 icmp echo-request 10
|
||||||
|
1:10 0.0.0.0/0 0.0.0.0/0 icmp echo-reply 10</programlisting>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
|
@ -279,6 +279,23 @@
|
|||||||
1:10 ::/0 ::/0 icmp6 echo-reply</programlisting>
|
1:10 ::/0 ::/0 icmp6 echo-reply</programlisting>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term>Example 2:</term>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>Add two filters with priority 10 (Shorewall 4.5.8 or
|
||||||
|
later).</para>
|
||||||
|
|
||||||
|
<programlisting> #CLASS SOURCE DEST PROTO DEST PRIORITY
|
||||||
|
# PORT
|
||||||
|
|
||||||
|
IPV6
|
||||||
|
|
||||||
|
1:10 ::/0 ::/0 icmp echo-request 10
|
||||||
|
1:10 ::/0 ::/0 icmp echo-reply 10</programlisting>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user