Opening UDP ports 10001 to 20000 for Sip and / or Trixbox in RRAS under Windows.

Jun 14, 2010 | Uncategorized | 1 comment

When using Routing and Remote Access Services in Windows 2003 or 2008, it is not possible to specify a range of ports to open in the GUI. Therefore, you will need to use NetSH through the console instead.

This however is actually easier than you might think. Obviously, specify your own network interface and internal IP while doing this.

FOR /L %I IN (10001,1,20000) DO netsh routing ip nat add portmapping “Local Area Connection 2” udp 0.0.0.0 %I 192.168.2.248 %I

I hope that makes sense.

Shout if you have any questions.

1 Comment

  1. Anonymous

    Hi, that’s very useful in opening them, how can you close them afterwards without having to delete each item one by one…?

    Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.