Search squid archive

Re: iptables syntax

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>:
> >> 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@xxxxxxxxxxx ; 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.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux