On Thu, Mar 01, 2001 at 08:02:35AM -0600, Cory Steers wrote:
You have to use the ipportfw module with IPChains. Or, if you want to upgrade to IPTables, it's built in. I have no experience with either, but a friend has told me that he had much better luck with IPTables, than he ever did with ipportfw.
-----Original Message----- From: lists@tcob1.net [mailto:lists@tcob1.net] Sent: Wednesday, February 28, 2001 1:23 PM To: suse-linux-e@suse.com Subject: [SLE] Ipchains forwarding a port to another
Originally to: All
Hello everybody.
Does anyone know how I can tell IPchains to forward any packets destined for port x to port y .
Here is one way to do it /sbin/ipchains -A input -j ACCEPT -i $EXTIF -p tcp -s $UNIVERSE -d $EXTIP 80 /usr/sbin/ipmasqadm portfw -f /usr/sbin/ipmasqadm portfw -a -P tcp -L $EXTIP 80 -R $PORTFWIP 80 The above will forward requests on port 80 of EXTIP to port 80 of PORTFWIP. -- Hiren -- -------------------------------------------------------- If you haven't much education you must use your brain.