From mboxrd@z Thu Jan 1 00:00:00 1970 From: sm@rhythm.cx Subject: port redirection *without* nat Date: Mon, 6 Jan 2003 14:17:53 -0500 Sender: netfilter-admin@lists.netfilter.org Message-ID: <20030106141753.A12922@infinity.rhythm.cx> Mime-Version: 1.0 Return-path: Content-Disposition: inline Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: netfilter@lists.netfilter.org I'm trying to figure out how (if possible) to do port redirection with iptables on my linux router. This router is is not doing NAT, all connected networks have real, public IP addresses. There is tons of information out there about doing port redirection with NAT, but I can't find anything for without NAT. I just want to make the router take traffic destined for address A port x and change the destination address to send it off to address B port x instead. A and B are on the same (directly attached ethernet) network. I looked into the DNAT and REDIRECT targets, but those only seem to work in the nat table. Thanks