Hi,
"http_port" sets the port squid is listening on,
"http_access" is in the acl's, but I guess you meant "http_port 3128".
What's the use of trying to specify "localhost:3128"?
Where elst should squid listen than on localhost?
Cheers, Uli
-----Original Message-----
From: Arindam Haldar [mailto:arindam@d2visp.com]
Sent: Sunday, June 09, 2002 5:52 PM
To: squid-users@squid-cache.org
Subject: [squid-users] hi
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 - 10:41:34 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:37 MST