Re: [squid-users] hi

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 9 Jun 2002 21:04:23 +0200

You can't use loopback addresses like this. The Linux kernel rejects
any traffic to loopback not originating from loopback.

You have to use a IP address assigned on a real network interface, or
in case of REDIRECT have Squid bound to "any" (the default).

Regards
Henrik

On Sunday 09 June 2002 17:52, Arindam Haldar wrote:
> hi all,
> i started squid sucessfully with this option -->
> http_port localhost:3128
>
> & then tried to preroute with the following command
> iptables -A PREOUTING -t nat -i eth1 -s <ip> -p 6 --dport 80 -j
> DNAT --to-source 127.0.0.1:3128
> but failed to allow clients to use squid cache... i then tried
> iptables -A PREOUTING -t nat -i eth1 -s <ip> -p 6 --dport 80 -j
> REDIRECT --to-port 3128
> & still failed !
> i then changed the squid conf to what it was earlier -->
> http_access 3128 & with this things started workig fine.
>
> what did i miss while trying to start squid with localhost option
> ? thanking in advance
> A.H
Received on Sun Jun 09 2002 - 13:35:50 MDT

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