Server 2003 RRAS basic firewall exceptions via command line?

Discussion in 'Windows Networking' started by TBKDan, Dec 17, 2006.

  1. TBKDan

    TBKDan Guest

    I looked around and found that you can edit the basic Server 2003
    Windows firewall via command line netsh, but that does not apply when
    you are using RRAS on the system. I want to block all but a range of
    ports, but unfortunately the GUI does not allow for easy addition of a
    port range; instead you have to add each port individually. Is there a
    way that I'm missing to add a port range (I don't really want to put
    almost 50 ports in by hand, giving each it's own name), or a way to add
    these exceptions via command line so that I can do a batch script?
    Thanks for any info..

    TBKDan, Dec 17, 2006
    1. Advertisements

  2. Dan,

    There is a fantastic book that describes this process. It is called
    Windows Server 2003 Networking Recipes. Check it out at

    (...and in the interest of full disclosure, I am one of the authors,
    though I did not write that particular chapter.)

    Brad Dinerman

    Bradley J. Dinerman, MVP - Windows Server Networking
    President, New England Information Security Group
    Brad Dinerman [MVP - Windows Server Networking], Dec 17, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.