Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Jeff on December 03, 2001, 09:42:13 AM

Title: Forwarding a Range of ports
Post by: Jeff on December 03, 2001, 09:42:13 AM
I've spentquite a few hours looking up information on port forwarding on e-smith.  However, when it relates to forwarding a range of ports I can only find unanswered questions on this message board.

I've got port forwarding up and running, however I need to add 150 tcp ports and 200 udp ports.  I've already done 50 of each by hand, and it takes forever.  I know there must be some way to forward a range of ports.  I tried entering xxxx-xxxx inplace of a single port, but that didn't work.  Unfortunately I do not really know bash, as I'm sure a small script could be made.  Please reply if you have ANY information (Even if it's that you've never heard anybody find a way)

Thank you,
Jeff
Title: Re: Forwarding a Range of ports
Post by: scheithan on December 03, 2001, 04:23:14 PM
Hi,
i got the same problem. i also have to forward a range of ports but in my case it even didn“t work with one single port! could ya please tell me how you did it?
i would be very thankful for that....
greetz,
scheithan
Title: Re: Forwarding a Range of ports
Post by: Chris Meredith on December 03, 2001, 10:24:23 PM
The easiest thing to do it write a script that loops through and forwards each port.  Just get a count, and then set the start port.
Title: Re: Forwarding a Range of ports
Post by: Ralph on December 05, 2001, 05:08:39 PM
That's a lot of ports to forward, I would think a hardware solution would be better?