From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomas Bonnedahl Date: Wed, 21 May 2003 14:43:13 +0000 Subject: [LARTC] iptables port forward Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org hello, quick question: i want to port forward those that enter at x:80 to internal address y:7865, how can i do that with iptables? iptables -t nat -I PREROUTING 4 -i eth0 -d x -p tcp --dport 80 -j DNAT --to y when/how do i specify port 7865? thank you, tomas bonnedahl _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/