Search squid archive

Re: squid + tproxy is not working properly when using url_rewriter and local apache script for youtube caching

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

 



Hi,

thanks for the reply.

Initially in the url_rewriter I was pointing to
http://localhost/somescript.php..... but after implementing tproxy and I saw
the request are coming from customer real Ip to 127.0.0.1 then I replaced
that line in the url_rewriter with ip address like 192.168.2.2 which is on
one of the interfaces of the squidbox, so now the destination address is
routable IP, but again same problem.

What I saw with tcpdump on the squidbox is something like this:

tcpdump -i lo -n port 80

USER-IP (10.10.10.10) - > APACHE IP (192.168.2.2)

tcpdump -i eth0 -n port 80

APACHE IP (192.168.2.2) - > (10.10.10.10)

So the Request from user is redirected through SQUID to the APACHE php
script and then I think the reply is going directly to the user - but I
think it must go through squid. Can this be the problem?



--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/squid-tproxy-is-not-working-properly-when-using-url-rewriter-and-local-apache-script-for-youtube-cacg-tp4568053p4570044.html
Sent from the Squid - Users mailing list archive at Nabble.com.


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

  Powered by Linux