<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Disqus - Latest Comments for Rocky</title><link>http://disqus.com/people/75349ed3e1ec810f61c7bbe4b39a19a0/</link><description></description><language>en</language><lastBuildDate>Wed, 18 Apr 2007 18:05:08 -0000</lastBuildDate><item><title>Re: squid 2.6 transparent proxy</title><link>http://patchlog.disqus.com/squid_26_transparent_proxy/#comment-2803630</link><description>Hey guys,&lt;br&gt;&lt;br&gt;I just came across this proxy and was wondering if you guys can help me out.  I have the classic 192.168.0.0 subnet running at my organization with a hardware router that is also the gateway.  I've been trying to get squid 2.6, running on Debian Etch with kernel 2.6, but with no success.  I've gotten it to work by setting my IE to use a proxy but it doesn't seem to want to work transparently.  I've entered the  iptables entry but still, same result.  My setup is below:&lt;br&gt;&lt;br&gt;Compaq EN 1ghz, 512MB Ram with onboard Intel nic&lt;br&gt;Installed Debian Etch from netinst CD with no packages.&lt;br&gt;Configure Nic with IP 192.168.0.250 255.255.255.0 gw192.168.0.2 dns 4.2.2.1&lt;br&gt;Did apt-get install squid&lt;br&gt;Configured squid.conf:&lt;br&gt;http_port 3128 transparent&lt;br&gt;acl lan src 192.168.0.0/24&lt;br&gt;http_access allow localhost&lt;br&gt;http_access allow lan&lt;br&gt;&lt;br&gt;Iptables entry:&lt;br&gt;iptables -t nat -A PREROUTING -i eth0 -p tcp -dport 80 -j REDIRECT -to-port &lt;br&gt;3128&lt;br&gt;&lt;br&gt;Can someone help me figure this out?&lt;br&gt;&lt;br&gt;Thanks,</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rocky</dc:creator><pubDate>Wed, 18 Apr 2007 09:28:53 -0000</pubDate></item><item><title>Re: squid 2.6 transparent proxy</title><link>http://patchlog.disqus.com/squid_26_transparent_proxy/#comment-2803633</link><description>Hey Mihai,&lt;br&gt;&lt;br&gt;Ok so I've done the cat /proc/sys/net/ipv4/ip_forward thing and I not have ip forwarding on.  I also made sure that the iptables entry is correct.&lt;br&gt;&lt;br&gt;I still cannot do transparent proxy.  It only works when I manually set IE to use a proxy.  Any ideas?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rocky</dc:creator><pubDate>Wed, 18 Apr 2007 15:59:42 -0000</pubDate></item><item><title>Re: squid 2.6 transparent proxy</title><link>http://patchlog.disqus.com/squid_26_transparent_proxy/#comment-2803625</link><description>Hey Mihai, &lt;br&gt;&lt;br&gt;I appreciate the help bro.  I edited my sysctl.conf file and added net.ipv4.ip_forward = 1&lt;br&gt; to it.  So whenever I reboot, it automatically turns on ip forwarding.  So I am not doing ehco 1 &amp;gt; /proc/sys/net/ipv4/ip_forward.&lt;br&gt;&lt;br&gt;When I run iptables -t nat -L -n -v, this is what I get:&lt;br&gt;&lt;br&gt;Chain PREROUTING (policy ACCEPT 4 packets, 192 bytes)&lt;br&gt; pkts bytes target     prot opt in     out     source               destination&lt;br&gt;    0     0 REDIRECT   tcp  --  eth0   *       0.0.0.0/0            0.0.0.0/0           tcp dpt:80 redir ports 3128</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rocky</dc:creator><pubDate>Wed, 18 Apr 2007 16:26:14 -0000</pubDate></item><item><title>Re: squid 2.6 transparent proxy</title><link>http://patchlog.disqus.com/squid_26_transparent_proxy/#comment-2803628</link><description>Oh so it will not work if it's not the gateway?  I have it set as a node on my lan because I have a hardware firewall, a Netopia Router.  Do you know of anyway to make transparent proxy work in this type of scenerio?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rocky</dc:creator><pubDate>Wed, 18 Apr 2007 18:05:08 -0000</pubDate></item></channel></rss>