Hi Mark,
The following iptables rules works on my Centos 6.5 running iptables 1.4.7
iptables -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT
--to-ports 3127
And, on squid.conf, it is configured as:
http_port 3127 intercept
This works like a charm.
Regards
HASSAN
On Thu, Jul 3, 2014 at 8:47 PM, Mark jensen <ngiw2012_at_hotmail.com> wrote:
> If I have following this tutorials to configure transparent proxy:
>
> on cisco L3 switch:
>
> http://wiki.squid-cache.org/ConfigExamples/Intercept/Cisco2501PolicyRoute
>
> on squid machine:
>
> http://wiki.squid-cache.org/ConfigExamples/Intercept/IptablesPolicyRoute
>
> Is it necessary to add any configuration to the squid like:
> http_port 8080 intercept
>
>
> or following this tutorial is enough for me.
>
> NOTE: I have the client, squid and the web server on different machines
>
> Mark
>
Received on Thu Jul 03 2014 - 15:11:03 MDT
This archive was generated by hypermail 2.2.0 : Sat Jul 05 2014 - 12:00:04 MDT