Koozali.org: home of the SME Server

Forwarding a Range of ports

Jeff

Forwarding a Range of ports
« 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

scheithan

Re: Forwarding a Range of ports
« Reply #1 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

Chris Meredith

Re: Forwarding a Range of ports
« Reply #2 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.

Ralph

Re: Forwarding a Range of ports
« Reply #3 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?