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

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.

Opening UDP ports 10001 to 20000 for Sip and / or Trixbox in RRA

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

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • You may post PHP code. You should include <?php ?> tags.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options