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