From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Edward Stickland Subject: dnat question Date: Tue, 14 Feb 2006 15:48:08 -0500 (EST) Message-ID: <8161840.1139950088826.JavaMail.jstic04@cp.centennialcollege.ca> Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: 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" To: netfilter@lists.netfilter.org Hello, could someone help me with writing a rule to do the following All tcp connections on all port numbers 1-65534 be dnat'ed to host x.x.x.x on port 80 im setting up a simple honey pot. for new connections coming to my wan interface. i know i could do separate prerouting chain in the nat table entries for each port - but how can i do a one liner?