From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michele Petrazzo - Unipex srl Subject: Re: Setting up a proxy with iptables Date: Tue, 05 Aug 2008 08:31:39 +0200 Message-ID: <4897F3CB.8090103@unipex.it> References: <48941506.6080409@unipex.it> <50805eb10808041406x545a5ed1q6da8302370a0accb@mail.gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <50805eb10808041406x545a5ed1q6da8302370a0accb@mail.gmail.com> Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Shawn Fitzgerald Cc: netfilter Shawn Fitzgerald wrote: > I did an iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j > REDIRECT --to-ports 8080 and nothing. Just to make sure the firewall > was up I entered iptables -A OUTPUT -j DROP and it did block all > outbound traffic. > > What am I missing here? > Nothing it's not an answer. How it's your lan? How are connected your eth0? Have you log the incoming packets *before* redirect? Have you tried to tcpdump? Too little infos... Michele