Hi,
try
ipchains -A input -p tcp -s source_address --dport www -j REDIRECT 8080
where source address can be specified as host name or IP address. It may
network address for example 168.16.1.5/24 will match all the source
adresses in the range 168.16.1.0 to 168.16.1.255. 8080 is the port which
squid uses to give service on.
for further info refer 'man ipchains' or ghostview
/usr/doc/ipchains/ipchains-quickref.ps.
Cheers
-Shashidhar
On Sun, 26 Mar 2000, Sunit Mathur wrote:
> Hi Everybody,
>
> I need to set up a combination of ipchains & Squid to get a transparent
> proxy. I need to cache the requests from the systems that have the Linux box
> as their gateway...How do I redirect the packets for the gateway to Squid ?
>
> Looking forward for help from our group !!
>
> Regards
> Sunit Mathur
>
>
> -----------------------------------------------------------------------
> For information on this and other Linux India mailing lists check out
> http://lists.linux-india.org/
>
>
-----------------------------------------------------------------------
For information on this and other Linux India mailing lists check out
http://lists.linux-india.org/