I have had much better luck with the mfw module. If you are using the
SuSE firewall package and forwarding to a different port on the same
machine, it can do this. Just find the lines
FW_FORWARD_TCP="" # Beware to use this!
FW_FORWARD_UDP="" # Beware to use this!
Read the comments above it, edit the proper values in, save the file,
and as root:
rcfirewall stop
rcfirewall start
Be sure the program listening on the redirected port is listening and
away you go.
If on a different port and a different machine, e-mail me off list.
HTH,
Jeffrey
Quoting Cory Steers
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.
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 .
Sean
... What's a new brides' wedding night dread? Microsoft. <-> Gateway Info. This is a posting via the Fidonet Gateway at TCOB1 Any replies direct via Email will be sent to /dev/null Please reply via the list. TCOB1 http://www.tcob1.net For info pls contact sean@tcob1.net
-- I don't do Windows and I don't come to work before nine. -- Johnny Paycheck