Re: [squid-users] failed http redirection

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 24 Oct 2011 11:42:59 +1300

On 24/10/11 03:41, 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
>
> thanks

Describing the failure is rather important. Please do that.

  * Networking and firewalls could be blocking things.

  * Being a tunnels the packets may not have the ip:port details you assume.

  * The latest Squid verify that the destination IP matches the intended
domain and reject requests which 409 (Conflict) if they don't match.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.16
   Beta testers wanted for 3.2.0.13
Received on Sun Oct 23 2011 - 22:43:08 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 24 2011 - 12:00:03 MDT