Re: [squid-users] iptables syntax

From: Matus UHLAR - fantomas <uhlar_at_fantomas.sk>
Date: Tue, 17 Jun 2008 17:43:56 +0200

On 16.06.08 18:11, Ken W. wrote:
> Thanks. I have two 1000M cards.

does not matter.

> Does it support all web applications like videos, webIM etc?

only HTTP applications. Don't redirect anything but port 80 communication
there. And even then you can get complaints when someone runs non-HTTP
application on port 80...

> 2008/6/16 Indunil Jayasooriya <indunil75_at_gmail.com>:
> >> I will run Squid on Linux OS, with transparent mode.
> >> Should I use iptables to do the http intercept?
> >> what's the iptables syntax? please help, thank you.
> >
> > How many network card does this squid box have?
> >
> > in squid.conf, Pls add below line
> >
> > http_port 3128 transparent
> >
> >
> > This is the iptables rule
> >
> > #Redirecting traffic destined to port 80 to port 3128
> > iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 80 -j REDIRECT
> > --to-port 3128
> >
> > for more, pls visit below URL
> >
> > http://wiki.squid-cache.org/SquidFaq/InterceptionProxy
> >
> >
> > Happy Squiding
> >
> > --
> > Thank you
> > Indunil Jayasooriya
> >

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
- Have you got anything without Spam in it?
- Well, there's Spam egg sausage and Spam, that's not got much Spam in it.
Received on Tue Jun 17 2008 - 15:44:05 MDT

This archive was generated by hypermail 2.2.0 : Tue Jun 17 2008 - 12:00:03 MDT