mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 00:34:04 +01:00
Remove remaining potential point of confusion in Squid documentation.
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9801 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
844bb448c7
commit
5b48b00bcc
@ -166,8 +166,9 @@ httpd_accel_uses_host_header on</programlisting>
|
||||
|
||||
<programlisting>#ACTION SOURCE DEST PROTO DEST PORT(S) SOURCE ORIGINAL
|
||||
# PORT(S) DEST
|
||||
ACCEPT $FW net tcp www
|
||||
REDIRECT loc 3128 tcp www - !206.124.146.177
|
||||
ACCEPT $FW net tcp www</programlisting>
|
||||
</programlisting>
|
||||
|
||||
<para>There may be a requirement to exclude additional destination hosts
|
||||
or networks from being redirected. For example, you might also want
|
||||
@ -189,11 +190,12 @@ REDIRECT loc 3128 tcp www - !206.124.146.
|
||||
|
||||
<programlisting>#ACTION SOURCE DEST PROTO DEST PORT(S) SOURCE ORIGINAL
|
||||
# PORT(S) DEST
|
||||
ACCEPT $FW net tcp www
|
||||
REDIRECT loc:!192.168.1.5,192.168.1.33\
|
||||
3128 tcp www - !206.124.146.177,130.252.100.0/24
|
||||
ACCEPT loc net tcp www</programlisting>
|
||||
|
||||
<para>The second rule may be omitted if your loc->net policy is
|
||||
<para>The last rule may be omitted if your loc->net policy is
|
||||
ACCEPT.</para>
|
||||
</section>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user