Re: [squid-users] Problem with HTTP redirection and IPTABLES?

From: Eliezer Croitoru <eliezer_at_ngtech.co.il>
Date: Thu, 03 Jul 2014 20:48:42 +0300

Hey Mark,

What Distribution of linux are you using?

Eliezer

On 07/03/2014 05:25 PM, Mark jensen wrote:
> I have follow this tutorial to redirect HTTP traffic to the squid listening on 8080:
>
> http://wiki.squid-cache.org/ConfigExamples/Intercept/AtSource
>
> My questions are:
>
> 1- when I try to do this command:
>
> iptables -t nat -A OUTPUT -p tcp --dport 80 -j DNAT --to-destination SQUIDIP:8080
>
>
> an error returns: unknown option "--to-destination" (iptables version1.4.7)
>
>
> 2- I'm using squid3.1.10 what option should I chose:
>
> http_port 8080 transparent
>
>
>
> OR
>
>
> http_port 8080 intercept
>
> mark
>
>
>
Received on Thu Jul 03 2014 - 17:51:12 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 04 2014 - 12:00:05 MDT