From 07c579562ecc514a4b7aca0d845037193706a37a Mon Sep 17 00:00:00 2001 From: teastep Date: Sat, 4 Apr 2009 14:28:23 +0000 Subject: [PATCH] Explain how to exclude certain hosts from transparent proxy Signed-off-by: Tom Eastep git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9795 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- docs/Shorewall_Squid_Usage.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/Shorewall_Squid_Usage.xml b/docs/Shorewall_Squid_Usage.xml index 3543f3e2a..04b076800 100644 --- a/docs/Shorewall_Squid_Usage.xml +++ b/docs/Shorewall_Squid_Usage.xml @@ -179,6 +179,22 @@ ACCEPT $FW net tcp www /etc/shorewall/rules:#ACTION SOURCE DEST PROTO DEST PORT(S) SOURCE ORIGINAL # PORT(S) DEST REDIRECT loc 3128 tcp www - !206.124.146.177,130.252.100.0/24 + + People frequently ask How can I exclude certain internal + systems from using the proxy? I want to allow those systems to go + directly to the net. + + Suppose that you want to exclude 192.168.1.5 and 192.168.1.33 from + the proxy. Your rules would then be: + + #ACTION SOURCE DEST PROTO DEST PORT(S) SOURCE ORIGINAL +# PORT(S) DEST +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 + + The second rule may be omitted if your loc->net policy is + ACCEPT.