If you want to forward a range of ports on a Windows Server with RRAS, the only way to do it is:

FOR /L %I IN (5001,1,5201) DO netsh routing ip nat add portmapping name=”Internet” tcp 0.0.0.0 %I 127.0.0.1 %I