Re: [squid-users] how to..

From: Dodjie Nava <dpnava@dont-contact.us>
Date: Sat, 14 Dec 2002 10:25:24 -0800

hi naren,

i had the same problem before but i got it fixed. here's my suggestion.
hope it can help.

1. deactive ipchains (this is the default of rh7.2) and activate iptables.
2. append the following to your /etc/rc.d/rc.local

/sbin/iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j
REDIRECT --to-port 8088

(assuming port 8088 for squid. note: i got this one from netfilter.org
and works for me).

3. make sure that iptables is running. otherwise this will produce an
error. do '/sbin/iptables -t nat -L' and should produce something.
4. if you use a router, you also have to set the next hop to the ip of
your squid box.
5. make sure squid is up and running by tailing access.log

hope this helps. there may be other approach out there so good luck.

dodjie nava
e-net corporation
philippines

Narendra Kumar wrote:

> Hello list,
>
> how to configure iptables or netfilter in red hat linux 7.2 version.
>
> i want to configure squid is transparent proxy..
>
>
> thanks
> Naren.
>
> Narendra
>
>
Received on Fri Dec 13 2002 - 19:06:20 MST

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