mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-08 22:58:50 +01:00
Update the whitelisting article for 5.0
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
bc50c45e63
commit
e36bf75f9f
@ -120,7 +120,7 @@ loc eth2:0.0.0.0/0</programlisting>
|
|||||||
|
|
||||||
<bridgehead renderas="sect4">Policy File</bridgehead>
|
<bridgehead renderas="sect4">Policy File</bridgehead>
|
||||||
|
|
||||||
<programlisting>#SOURCE DEST POLICY LOG LEVEL
|
<programlisting>#SOURCE DEST POLICY LOGLEVEL
|
||||||
<emphasis role="bold">ops all ACCEPT
|
<emphasis role="bold">ops all ACCEPT
|
||||||
all ops CONTINUE</emphasis>
|
all ops CONTINUE</emphasis>
|
||||||
loc net ACCEPT
|
loc net ACCEPT
|
||||||
@ -134,7 +134,7 @@ all all REJECT info</programlisting>
|
|||||||
|
|
||||||
<bridgehead renderas="sect4">Rules File</bridgehead>
|
<bridgehead renderas="sect4">Rules File</bridgehead>
|
||||||
|
|
||||||
<programlisting>#ACTION SOURCE DEST PROTO DEST PORT(S) SOURCE PORTS(S) ORIGINAL DEST
|
<programlisting>#ACTION SOURCE DEST PROTO DPORT SPORT ORIGDEST
|
||||||
REDIRECT loc!ops 3128 tcp http</programlisting>
|
REDIRECT loc!ops 3128 tcp http</programlisting>
|
||||||
|
|
||||||
<para>This is the rule that transparently redirects web traffic to the
|
<para>This is the rule that transparently redirects web traffic to the
|
||||||
|
Loading…
Reference in New Issue
Block a user