Re: [squid-users] fastening squid to a port: problem

From: Payal Rathod <payal-squid@dont-contact.us>
Date: Thu, 6 Nov 2003 05:37:29 +0000

On Thu, Nov 06, 2003 at 05:26:38AM +0700, Robert Collins wrote:
> On Thu, 2003-11-06 at 07:56, Henrik Nordstrom wrote:
> > On Wed, 5 Nov 2003, Payal Rathod wrote:
> >
> > > Thanks for the mail. Well, I have only one proxy running, and webserve
> > > ris on 80. But I believe I mentioned port 0? What might be the reason
> > > that squid behaves taht way when port is set to 0 or none?
> >
> > It is not possible to use port 0.
> >
> > What I think is going on is that when port 0 is specified in the user
> > agent (browser) it connects to port 80.
>
> I suspect that when the port is 0 the browser disables the use of the
> proxy, thus going direct through NAT or normal routing.

I have put the contend of the squid.conf on,
http://payal.staticky.com/squid.conf.txt

My iptables rules state (from iptables-save dump),
-A FORWARD -s 192.168.10.2 -p tcp -m tcp --dport 80 -j DROP
-A FORWARD -s 192.168.10.3 -p tcp -m tcp --dport 80 -j DROP
-A FORWARD -s 192.168.10.4 -p tcp -m tcp --dport 80 -j DROP
-A FORWARD -s 192.168.10.5 -p tcp -m tcp --dport 80 -j DROP
-A FORWARD -s 192.168.10.6 -p tcp -m tcp --dport 80 -j DROP
-A FORWARD -s 192.168.10.7 -p tcp -m tcp --dport 80 -j DROP

Any ideas why?

With warm regards,
-Payal

-- 
For GNU/Linux Success Stories and Articles visit:
          http://payal.staticky.com
Received on Wed Nov 05 2003 - 22:37:45 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:21:09 MST