From 40f57bf92601a0a64a3565931d18fb95f7dafee5 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Wed, 16 Jun 2010 09:24:01 -0700 Subject: [PATCH] Update Squid Document --- docs/Shorewall_Squid_Usage.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/Shorewall_Squid_Usage.xml b/docs/Shorewall_Squid_Usage.xml index 850fcd9a0..d5115d14b 100644 --- a/docs/Shorewall_Squid_Usage.xml +++ b/docs/Shorewall_Squid_Usage.xml @@ -320,7 +320,7 @@ ACCEPT $FW net tcp 80,443 url="http://wiki.squid-cache.org/Features/Tproxy4">http://wiki.squid-cache.org/Features/Tproxy4. The following configuration works with Squid running on the firewall - itself. + itself (assume that Squid is listening on port 3128). /etc/shorewall/interfaces: @@ -332,7 +332,7 @@ ACCEPT $FW net tcp 80,443 #NAME NUMBER MARK DUPLICATE INTERFACE GATEWAY OPTIONS COPY Tproxy 1 1 - lo - local - /etc/shorewall/tcrules (assume Z interface is + /etc/shorewall/tcrules (assume loc interface is eth1): MARK SOURCE DEST PROTO PORT(S) @@ -341,7 +341,7 @@ TPROXY(1,3128) eth1 0.0.0.0/0 tcp 80 /etc/shorewall/rules: #ACTION SOURCE DEST PROTO DEST PORT(S) -ACCEPT Z $FW tcp SP +ACCEPT loc $FW tcp 3128 ACCEPT $FW net tcp 80