From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-15?Q?G=E1sp=E1r_Lajos?= Subject: Re: block 8080, but redirect from 80 to 8080 Date: Tue, 01 Aug 2006 13:42:41 +0200 Message-ID: <44CF3E31.3080001@whb.hu> References: <44CED45F.10208@xsoftware.biz> <44CF3120.4080008@plouf.fr.eu.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <44CF3120.4080008@plouf.fr.eu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Netfilter IPtableMailinglist > Quick and dirty : > Drop the undesired packets in the PREROUTING chain of the 'mangle' > table, before REDIRECT occurs. > > iptables -t mangle -A PREROUTING -p tcp --dport 8080 -j DROP (or REJECT) > I would recomment NOT TO DO any ACCEPT or DROP/REJECT in other than the filter table...