Re: [squid-users] Local Squid

From: Alfredo Rezinovsky <alfredo_at_fing.uncu.edu.ar>
Date: Sun, 22 Sep 2013 12:57:25 -0300

El 22/09/13 09:58, shawn wilson escribió:
> I'm trying to setup a transparent proxy on my local machine. This
> works when I give Firefox proxy info, but this fails when I get
> iptables to redirect with (the rule I keep turning on/off):
> iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to-port 3128
>
> And the rest of the nat table is just:
> *nat
> -A OUTPUT -m owner --uid-owner 31 -j ACCEPT
> COMMIT
>
> When this is enabled, I just get:
> ERROR
>
You should FIRST accept proxy connections to go direct, then nat the others.
Just swap your nat rules order
Received on Sun Sep 22 2013 - 15:57:35 MDT

This archive was generated by hypermail 2.2.0 : Mon Sep 23 2013 - 12:00:05 MDT