Search squid archive

Re: failed http redirection

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

 



On Sun, 2011-10-23 at 07:41 -0700, Ivan Matala wrote:
> hello, this is my code
> 
> iptables -t nat -A PREROUTING -i tun0 -p tcp -m tcp --match multiport
> --dports 80 -j DNAT --to-destination 118.67.78.136:80
> 
> what im trying to do is, im trying to redirect all http requests to a
> foreign proxy, but it fails
> 

What are your other iptables rules? Are you sure that there is not an
ACCEPT (or another rule that stops that rule being transversed) before
that rule? Try changing it to a LOG to check that it is actually doing
something.

Andy




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

  Powered by Linux