--- hobbes <hobbes.lee@xxxxxxxxx> wrote: > I want to you have already configure iptables,such > as: > iptables -A PREROUTING -t nat -p tcp --dport 80 -j > REDIRECT --to-ports 7777 > port 7777 is listening by squid. > yes , but since tproxy rule is there no traffic pass through this rule iptables -t tproxy -A PREROUTING -p tcp -m tcp --dport 80 -j TPROXY --on-port squidport > Causeing the connection refuse is between squid and > site (server),can > squid use wget command to site content being > requested > yes > > ---------- Forwarded message ---------- > From: pinky you <pinkheart_7777@xxxxxxxxx> > Date: Oct 26, 2007 1:27 AM > Subject: Re: tproxy , wccp2 connection > refuse > To: hobbes <hobbes.lee@xxxxxxxxx> > > > --- hobbes <hobbes.lee@xxxxxxxxx > wrote: > > > set NAT redirect data with 80 port to your squid > > listening port , > you mean I need to redirect port 80 to squid port > AND > tproxy port 80 to squid NAT two rules > > As you connect refuse ,it maybe ACL configure > error > > in squid.conf ,check it. > > there is no acl error , the connection refuse error > come after a long time , and it is from the ip of > the > site being requested. > > > > > On 10/25/07, pinky you < pinkheart_7777@xxxxxxxxx> > > wrote: > > > > > > hello everyone > > > > > > I am trying to use tproxy with wccp but it never > > work > > > I patched the kernel, iptables and used squid > 2.6 > > > > > > the probme now , when the user open any webpage > > the > > > page load for long time (several min. ) and > > finally > > > connection refuese error from squid apears . > > > > > > I checked iptables and it forward the data. > > > checked with tcpdump (seems the data is comming > ) > > > > > > but I don't know whats the problem . > > > > > > is there any routing that should be done with > > tproxy > > > ?? > > > do I need to use NAT ?? > > > > > > thanx in advance > > > > > > > > > Be pink or not to be > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Tired of spam? Yahoo! Mail has the best spam > > protection around > > > http://mail.yahoo.com > > > > > > > > > > > -- > > hobbes.lee@xxxxxxxxx > > Guangzhou China > > > > > Be pink or not to be > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > > -- > hobbes.lee@xxxxxxxxx > Guangzhou China > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com