<?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 configuration in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210119#M10433</link>
    <description>iam not good in iptable but hope this will worl&lt;BR /&gt;&lt;BR /&gt;iptables -t mangle -A gforward -p tcp --dport 80 -d 10.10.10.45 -j MARK --set-mark 1&lt;BR /&gt;iptables -t nat -A gforward -p tcp --dport 80 -d 10.10.10.45 -j DNAT --to-destination 10.10.10.48:80&lt;BR /&gt;iptables -t nat -P PREROUTING ACCEPT&lt;BR /&gt;iptables -t nat -P POSTROUTING ACCEPT&lt;BR /&gt;iptables -t nat -P OUTPUT ACCEPT&lt;BR /&gt;iptables -t mangle -P PREROUTING ACCEPT&lt;BR /&gt;iptables -t mangle -P POSTROUTING ACCEPT&lt;BR /&gt;iptables -t mangle -P OUTPUT ACCEPT&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;peeyush&lt;BR /&gt;&lt;A href="http://geocities.com/peeyush_maurya/" target="_blank"&gt;http://geocities.com/peeyush_maurya/&lt;/A&gt;</description>
    <pubDate>Fri, 12 Mar 2004 18:21:41 GMT</pubDate>
    <dc:creator>Peeyush</dc:creator>
    <dc:date>2004-03-12T18:21:41Z</dc:date>
    <item>
      <title>squid configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210110#M10424</link>
      <description>all,&lt;BR /&gt;I have squid running w/one back end webserver.  However, I want to use squid to proxy two back end webserver.  So far I found out you have to set the following:&lt;BR /&gt;httpd_accel_host virtual&lt;BR /&gt;httpd_accel_single_host off&lt;BR /&gt;httpd_accel_with_proxy on&lt;BR /&gt;httpd_accel_uses_host_header on&lt;BR /&gt;Then restarted squid, but when accessing web site through squid server, I get acl access denied error.  How do I config the acl rule so that any web traffic which come through this squid server gets directed to the back end web server. Thanks.</description>
      <pubDate>Thu, 04 Mar 2004 20:38:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210110#M10424</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2004-03-04T20:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: squid configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210111#M10425</link>
      <description>add a line for destination web servers:&lt;BR /&gt;example&lt;BR /&gt;acl web1 dst x.x.x.x/255.255.255.255&lt;BR /&gt;&lt;BR /&gt;acl web2 dst x.x.x.x/255.255.255.255&lt;BR /&gt;&lt;BR /&gt;acl world src 0.0.0.0/0.0.0.0&lt;BR /&gt;&lt;BR /&gt;http_access allow world web1&lt;BR /&gt;http_access allow world web2&lt;BR /&gt;&lt;BR /&gt;this should allow whole world's access to 2 specific addresses...&lt;BR /&gt;&lt;BR /&gt;Don't forget to deny all unwanted traffic...</description>
      <pubDate>Fri, 05 Mar 2004 02:53:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210111#M10425</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2004-03-05T02:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: squid configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210112#M10426</link>
      <description>Alexander,&lt;BR /&gt;hmm looks good but how does squid distinguish what back end server should it be directing the traffic to, since http_accel_host is set to virtual?  Is there some sort of maping it keeps to forward traffic to the backend server?  Thanks.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Mar 2004 15:55:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210112#M10426</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2004-03-05T15:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: squid configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210113#M10427</link>
      <description>By the way the squid version is: squid-2.4.STABLE6-6.7.3</description>
      <pubDate>Fri, 05 Mar 2004 17:09:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210113#M10427</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2004-03-05T17:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: squid configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210114#M10428</link>
      <description>If you give httpd_accel_host one IP, it will send all requests there. If &lt;BR /&gt;you give it 'virtual' it will look the host up in DNS and send the request &lt;BR /&gt;there. 'virtual' pretty much requres a local DNS&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can also use webmin utility (web based)- to configure squid (as well as many other services)...</description>
      <pubDate>Sun, 07 Mar 2004 02:24:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210114#M10428</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2004-03-07T02:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: squid configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210115#M10429</link>
      <description>I am getting this error:&lt;BR /&gt;The following error was encountered:&lt;BR /&gt;&lt;BR /&gt;    Unable to determine IP address from host name for 10.10.10.40 &lt;BR /&gt;&lt;BR /&gt;The dnsserver returned:&lt;BR /&gt;&lt;BR /&gt;    Name Error: The domain name does not exist. &lt;BR /&gt;&lt;BR /&gt;This means that:&lt;BR /&gt;&lt;BR /&gt; The cache was not able to resolve the hostname presented in the URL. &lt;BR /&gt; Check if the address is correct. &lt;BR /&gt;&lt;BR /&gt;the ip dot 40 is my squid, the internal dns resolved the backend web server correctly.  What cause this error and how can I fix it.  Thanks.</description>
      <pubDate>Sun, 07 Mar 2004 11:46:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210115#M10429</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2004-03-07T11:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: squid configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210116#M10430</link>
      <description>forgot to set "httpd_accel_single_host off". After settting it to off and restart squid, then access url, now I am getting this error:&lt;BR /&gt;While trying to retrieve the URL: &lt;A href="http://10.10.10.40/xxxx/index.jsp" target="_blank"&gt;http://10.10.10.40/xxxx/index.jsp&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The following error was encountered:&lt;BR /&gt;&lt;BR /&gt;    * Access Denied.&lt;BR /&gt;&lt;BR /&gt;      Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect. &lt;BR /&gt;checked log file, I got this:&lt;BR /&gt; TCP_NEGATIVE_HIT/403 1098 GET &lt;A href="http://10.10.10.40/xxxx/index.jsp" target="_blank"&gt;http://10.10.10.40/xxxx/index.jsp&lt;/A&gt; - NONE/- text/html&lt;BR /&gt;&lt;BR /&gt;the ip "10.10.10.40"  is the squid server, it should have been the ip of web1, which is "10.10.10.139",  any idea?</description>
      <pubDate>Sun, 07 Mar 2004 12:11:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210116#M10430</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2004-03-07T12:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: squid configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210117#M10431</link>
      <description>So the DNS server problem still exists?&lt;BR /&gt;&lt;BR /&gt;Looks like the Proxy server is trying to locate the URL on itself.What happends if you type a FQDN in URL instead of IP?</description>
      <pubDate>Sun, 07 Mar 2004 12:22:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210117#M10431</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2004-03-07T12:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: squid configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210118#M10432</link>
      <description>all,  thanks for your help.  I got it to work for the most part.  It didn't work because I goofed, I forgot to set "httpd_accel_uses_host_header on".   &lt;BR /&gt;&lt;BR /&gt;on another note, I have  a  host abc.com  which  pub dns resloves to the squid server and I also have  who.com which is set up in my pub dns and also resolves to squid server.  But who.com is not resolvable by other dns yet.  So I want to use abc.com, but here's the problem.  Let say internal resolution of abc.com resolves to 10.10.10.45(doesn't serve up any web app)  and who.com resolves to 10.10.10.48 (which is serves up web3).  Is it possible to rewrite usrl &lt;A href="http://abc.com/index.jsp" target="_blank"&gt;http://abc.com/index.jsp&lt;/A&gt; to &lt;A href="http://who.com/index.jsp" target="_blank"&gt;http://who.com/index.jsp&lt;/A&gt; before squid proxy it, so that it routes to proper web server.  Does squid have this functionality?  Thanks.&lt;BR /&gt;</description>
      <pubDate>Sun, 07 Mar 2004 13:03:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210118#M10432</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2004-03-07T13:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: squid configuration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210119#M10433</link>
      <description>iam not good in iptable but hope this will worl&lt;BR /&gt;&lt;BR /&gt;iptables -t mangle -A gforward -p tcp --dport 80 -d 10.10.10.45 -j MARK --set-mark 1&lt;BR /&gt;iptables -t nat -A gforward -p tcp --dport 80 -d 10.10.10.45 -j DNAT --to-destination 10.10.10.48:80&lt;BR /&gt;iptables -t nat -P PREROUTING ACCEPT&lt;BR /&gt;iptables -t nat -P POSTROUTING ACCEPT&lt;BR /&gt;iptables -t nat -P OUTPUT ACCEPT&lt;BR /&gt;iptables -t mangle -P PREROUTING ACCEPT&lt;BR /&gt;iptables -t mangle -P POSTROUTING ACCEPT&lt;BR /&gt;iptables -t mangle -P OUTPUT ACCEPT&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;peeyush&lt;BR /&gt;&lt;A href="http://geocities.com/peeyush_maurya/" target="_blank"&gt;http://geocities.com/peeyush_maurya/&lt;/A&gt;</description>
      <pubDate>Fri, 12 Mar 2004 18:21:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-configuration/m-p/3210119#M10433</guid>
      <dc:creator>Peeyush</dc:creator>
      <dc:date>2004-03-12T18:21:41Z</dc:date>
    </item>
  </channel>
</rss>

