You can create a file in /etc named ipchains.input and add the command: ipchains -A input -p tcp -d 0/0 www -j REDIRECT 3128
If you are worried about users bypassing the proxy you can add following to block non-proxy web traffic ipchains -A input -i eth1 -d 0/0 www -j reject With those lines added type "svi network ipfilter reload" this will reload the rules including the ones in the /etc/ipchains.input file. Charles added the ipchains.input , ipchains.output and ipchains.forward cabability so you could extend the rules w/o editing the ipfilter.conf directly. - Todd > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Kropf > Sent: Wednesday, December 12, 2001 1:18 AM > To: [EMAIL PROTECTED]; Leaf-User (E-mail) > Subject: RE: [Leaf-user] Squid redirect dachstein floppy > > > I am not that familiar with ipchains and was hoping for a little more > detail. > I put together the following command from the info on the squid FAQ: > $IPCH -A input -p tcp -d 0/0 80 -j REDIRECT 3128 > However I am not sure what else is needed and where to put it in > ipfilter.conf > > Thanks for any help on this. > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of David > Douthitt > Sent: Tuesday, December 11, 2001 5:32 PM > To: LEAF Users List > Subject: Re: [Leaf-user] Squid redirect dachstein floppy > > > Kevin Kropf wrote: > > > I have Squid running on dachstein-rc2-1680.exe and would like > to redirect > > all internal port 80 requests to the default Squid port of 3128 > on the LRP > > box. > > > > I have read through the archives and found very little of use. > > > > What is the best way to do this? > > This is in the Squid FAQ - in fact, it's an entire section (#17); go to > the Squid home page at http://www.squid-cache.org/ . > > _______________________________________________ > Leaf-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/leaf-user > > > _______________________________________________ > Leaf-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/leaf-user _______________________________________________ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user
