<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: squid transparent proxy in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380302#M14095</link>
    <description>I think the problem is on squid server because:&lt;BR /&gt;&lt;BR /&gt;1) Logging the traffic on firewall i see that the nat works;&lt;BR /&gt;i see the packet going from IP of my client redirect to IP_squid port 3128&lt;BR /&gt;&lt;BR /&gt;2) On  squid seever i don't see any access in /var/log/squid/access.log file &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 16 Sep 2004 10:05:54 GMT</pubDate>
    <dc:creator>Marco_113</dc:creator>
    <dc:date>2004-09-16T10:05:54Z</dc:date>
    <item>
      <title>squid transparent proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380297#M14090</link>
      <description>hi,&lt;BR /&gt;i've another problem with squid; this time with transparent.&lt;BR /&gt;&lt;BR /&gt;My firewall and my squid server are  both  Linux rh 8.0.&lt;BR /&gt;&lt;BR /&gt;On the firewall:&lt;BR /&gt;&lt;BR /&gt;1) IPTABLES -t nat -A PREROUTING -i $ETH_LAN -p tcp --doprt 80 -j DNAT --to $IP_squid:3128 -s ! $IP_squid&lt;BR /&gt;&lt;BR /&gt;On the squid&lt;BR /&gt;&lt;BR /&gt;1) httpd_accel_host virtual&lt;BR /&gt;2) httpd_accel_port 80&lt;BR /&gt;3) httpd_accel_with_proxy on&lt;BR /&gt;4) httpd_accel_uses_host_header on&lt;BR /&gt;&lt;BR /&gt;But from my client with default gateeway IP_firewall i'm unable to go in INTERNET on 80 port&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Sep 2004 06:45:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380297#M14090</guid>
      <dc:creator>Marco_113</dc:creator>
      <dc:date>2004-09-16T06:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: squid transparent proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380298#M14091</link>
      <description>Your problem is because of firewell setting of &lt;BR /&gt;1) IPTABLES -t nat -A PREROUTING -i $ETH_LAN -p tcp --doprt 80 -j DNAT --to $IP_squid:3128 -s ! $IP_squid&lt;BR /&gt;&lt;BR /&gt;Gateway contains two ip-address as public one and private one. Try to check on gateway about the running of squid http_port informations as,&lt;BR /&gt;&lt;BR /&gt; netstat -na | grep -w '3128'&lt;BR /&gt;&lt;BR /&gt;And else try to use as,&lt;BR /&gt;1) IPTABLES -t nat -A PREROUTING -i $ETH_LAN -p tcp --dport 80 -j DNAT --to-port 3128 -s ! $IP_squid&lt;BR /&gt;&lt;BR /&gt;A good document writing about T-proxy over,&lt;BR /&gt;&lt;A href="http://squid.visolve.com/squid/trans_caching.htm" target="_blank"&gt;http://squid.visolve.com/squid/trans_caching.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Sep 2004 06:55:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380298#M14091</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-16T06:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: squid transparent proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380299#M14092</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/sbin/iptables -t nat -A PREROUTING -i $ETH_LAN -p tcp --dport 80 -s &lt;NETWORK number=""&gt; -d ! $IP_squid -j REDIRECT --to-port 3128&lt;BR /&gt;&lt;BR /&gt;Replace &lt;NETWORK number=""&gt; by your LAN &lt;BR /&gt; network number/netmaskvalue.&lt;BR /&gt;&lt;BR /&gt;If you don't want to give the network number just give the following:&lt;BR /&gt;&lt;BR /&gt;/sbin/iptables -t nat -A PREROUTING -i $ETH_LAN -p tcp --dport 80 -d ! $IP_squid -j REDIRECT --to-port 3128&lt;BR /&gt;&lt;BR /&gt;Also Check the following things:&lt;BR /&gt;&lt;BR /&gt;* Check Whether $ETH_LAN is your Local LAN's Ethernet port number and also check whether $IP_squid is your GATEWAY/SQUID's IPaddress.&lt;BR /&gt;&lt;BR /&gt;* Check whether squid is listening to 3128 using netstat:&lt;BR /&gt;&lt;BR /&gt;#netstat -nap |grep 3128&lt;BR /&gt; &lt;BR /&gt;Regards,&lt;BR /&gt;Senthil Murugan&lt;/NETWORK&gt;&lt;/NETWORK&gt;</description>
      <pubDate>Thu, 16 Sep 2004 07:07:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380299#M14092</guid>
      <dc:creator>Senthilmurugan</dc:creator>
      <dc:date>2004-09-16T07:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: squid transparent proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380300#M14093</link>
      <description>&lt;BR /&gt;my squid server a nd my firewall are different machines on the same lan&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;on squid, netstat:&lt;BR /&gt;&lt;BR /&gt;tcp        0      0 0.0.0.0:3128            0.0.0.0:*               LISTEN&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;my def gateway is firewall (ip of internal lan)</description>
      <pubDate>Thu, 16 Sep 2004 08:56:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380300#M14093</guid>
      <dc:creator>Marco_113</dc:creator>
      <dc:date>2004-09-16T08:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: squid transparent proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380301#M14094</link>
      <description>Try the following in your gateway,&lt;BR /&gt;&lt;BR /&gt;#iptables -t nat -A PREROUTING -i $ETH_LAN -p tcp -s ! $IP_squid --dport 80 -d ! 172.16.1.194 -j DNAT --to $IP_squid:3128&lt;BR /&gt;&lt;BR /&gt;Replace  $ETH_LAN with the local network IP (eg: eth0) and $IP_squid with the Squid machines IP .&lt;BR /&gt;&lt;BR /&gt;If the problem still exist &lt;BR /&gt;&lt;BR /&gt;* Send the iptable entries in the firewall with the &lt;BR /&gt;#iptables -L -t nat -n &lt;BR /&gt;&lt;BR /&gt;* Monitor the packets at the squid machine with the tcpdump command:&lt;BR /&gt;&lt;BR /&gt;#tcpdump -n |grep &lt;GATEWAY ip=""&gt;&lt;BR /&gt;&lt;BR /&gt;Send the above two outputs if the problem still exists.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Senthil Murugan&lt;BR /&gt;&lt;BR /&gt;&lt;/GATEWAY&gt;</description>
      <pubDate>Thu, 16 Sep 2004 09:47:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380301#M14094</guid>
      <dc:creator>Senthilmurugan</dc:creator>
      <dc:date>2004-09-16T09:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: squid transparent proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380302#M14095</link>
      <description>I think the problem is on squid server because:&lt;BR /&gt;&lt;BR /&gt;1) Logging the traffic on firewall i see that the nat works;&lt;BR /&gt;i see the packet going from IP of my client redirect to IP_squid port 3128&lt;BR /&gt;&lt;BR /&gt;2) On  squid seever i don't see any access in /var/log/squid/access.log file &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Sep 2004 10:05:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380302#M14095</guid>
      <dc:creator>Marco_113</dc:creator>
      <dc:date>2004-09-16T10:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: squid transparent proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380303#M14096</link>
      <description>This is the output of tcpdump | grep 192.168.10.54 on squidtcpdump -n | grep 192.168.10.54&lt;BR /&gt;tcpdump: listening on eth0&lt;BR /&gt;18:52:05.541536 192.168.10.32.ssh &amp;gt; 192.168.10.54.1567: P 2051682319:2051682363(44) ack 1373344404 win 6432 (DF) [tos 0x10]&lt;BR /&gt;18:52:05.541891 192.168.10.54.1567 &amp;gt; 192.168.10.32.ssh: . ack 44 win 16820 (DF)&lt;BR /&gt;18:52:07.118630 192.168.10.54.2370 &amp;gt; 62.211.64.100.http: S 4256518408:4256518408(0) win 16384 &lt;MSS 1460=""&gt; (DF)&lt;BR /&gt;18:52:07.118796 192.168.10.54.2370 &amp;gt; 192.168.10.32.squid: S 4256518408:4256518408(0) win 16384 &lt;MSS 1460=""&gt; (DF)&lt;BR /&gt;18:52:07.118844 192.168.10.32.squid &amp;gt; 192.168.10.54.2370: S 1211810983:1211810983(0) ack 4256518409 win 5840 &lt;MSS 1460=""&gt;&lt;/MSS&gt;&amp;gt; (DF)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;192.168.10.54 is my client IP&lt;BR /&gt;192.168.10.32 is squid IP&lt;BR /&gt;192.168.10.1 is firewall IP (on lan)&lt;BR /&gt;&lt;BR /&gt;the first two lines refers to my ssh connection to squid server&lt;BR /&gt;&lt;BR /&gt;i think this output means that the nat on firewall is working, because my http request has been natted to squid server??&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;i&lt;/MSS&gt;&lt;/MSS&gt;</description>
      <pubDate>Thu, 16 Sep 2004 11:57:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380303#M14096</guid>
      <dc:creator>Marco_113</dc:creator>
      <dc:date>2004-09-16T11:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: squid transparent proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380304#M14097</link>
      <description>Any suggestion,&lt;BR /&gt;please?&lt;BR /&gt;Marco</description>
      <pubDate>Fri, 17 Sep 2004 05:05:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380304#M14097</guid>
      <dc:creator>Marco_113</dc:creator>
      <dc:date>2004-09-17T05:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: squid transparent proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380305#M14098</link>
      <description>Have you verified that squid works properly?  One way to test is to telnet into squid from the machine running squid.  &lt;BR /&gt;&lt;BR /&gt;telnet servername or ip 3128&lt;BR /&gt;&lt;BR /&gt;Once in, type (case sensitive) &lt;BR /&gt;&lt;BR /&gt;CONNECT &lt;A href="http://www.aol.com" target="_blank"&gt;www.aol.com&lt;/A&gt; HTTP/1.0&lt;BR /&gt;&lt;BR /&gt;then hit enter twice.  The response should be 'Connection Established'.  If not, it will show you the error generated and it will give you a new direction to search.    Use aol because it is virtually guaranteed to work.  If it does establish then you know squid is functioning properly.&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Sep 2004 13:02:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380305#M14098</guid>
      <dc:creator>Matthew Ausmus</dc:creator>
      <dc:date>2004-09-17T13:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: squid transparent proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380306#M14099</link>
      <description>Thanks, &lt;BR /&gt;but i've solved the problem;&lt;BR /&gt;On the firewall i add the rule:&lt;BR /&gt;$IPTABLES -t nat -A POSTROUTING -o $ETH_LAN -s $LAN-d $IP_squid -j SNAT --to $IP_firewall_int&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Sep 2004 02:29:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-transparent-proxy/m-p/3380306#M14099</guid>
      <dc:creator>Marco_113</dc:creator>
      <dc:date>2004-09-20T02:29:05Z</dc:date>
    </item>
  </channel>
</rss>

