Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Derek Greenfield on March 27, 2002, 04:17:16 AM

Title: forwarding a range of ports
Post by: Derek Greenfield on March 27, 2002, 04:17:16 AM
I recently upgraded to 5.1.2 and have install the portforwarding rpm that adds the support to the server-manager. Now here's the problem, you can select a port to forward and to what machine, etc and that works great, but what I need to do is forward a range of ports, 3000-4000 to be exact, and don't want to have to enter 1000 seperate entries. I'm currently beta testing a game, and those are the ports that need to be forwarded to the internal machine. Anyway to do this using the dmc-mitel rpm that I have installed? Any help would be appreciated, since I searched the forums to no avail.

Thanks,
Derek
Title: Re: forwarding a range of ports
Post by: Derek on April 10, 2002, 04:01:31 AM
Can anyone offer any help as to forwarding a range of ports? I'm a linux noob so I have no clue how to go about it. see my original post for the problem I'm having.

Thanks in advance,
Derek
Title: Re: forwarding a range of ports
Post by: Tom Veitch on April 10, 2002, 11:01:34 AM
ipmasqadm portfw -a -P tcp -L 213.x.x.x 3389 -R 192.168.0.1 3389
ipmasqadm portfw -a -P udp -L 213.x.x.x 3389 -R 192.168.0.1 3389

try this command