Avatar of livegirllove
livegirllove asked on

Port Range Forwarding SBS 2003 standard

I need to forward 1000 ports for an application through RRAS to another PC on the LAN.

I can go into the nat/basic firewall - Internet connection and add them one port at a time but there is no way to do a range.

Any ideas?  

Im trying to forward UDP/TCP 10001-11000 to 192.168.16.32

I have seen a couple scripts that do this through netsh.  Would something like that be appropriate?

If I were to use netsh is there anywhere that will graphically show the range that is open?  Will they show up as new services in the same place Im looking now?

No ISA on this server.
SBSSoftware FirewallsWindows Server 2003

Avatar of undefined
Last Comment
Jason Watkins

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Jason Watkins

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
livegirllove

FOR /L %P IN (6300,1,6399) DO NETSH ROUTING IP NAT ADD PORTMAPPING <interface> TCP 0.0.0.0  %P  192.168.1.151

from here
https://www.experts-exchange.com/Security/Software_Firewalls/Q_22395734.html

but it doesnt seem to work.  Ill have to learn more on netsh syntax.
ASKER
livegirllove

heh got it.

portmap.bat
FOR /L %%P IN (10014,1,10016) DO NETSH ROUTING IP NAT ADD PORTMAPPING INTERNET TCP 0.0.0.0  %%P  192.168.16.32 %%P
Jason Watkins

Thanks for the points!  Enjoy!
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes