1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Open multiple ips on server [firewall]

Discussion in 'Site & Server Administration' started by Matt.B, May 16, 2010.

  1. #1
    hello,

    i have windows web edition standard 2008 dedicated server, and would like to open multiple ports

    Start > Control Panel > Allow a program through windows Firewall

    then i go into Exceptions go to "Add port"


    only allows me to enter one port number, i need to open from 6116 - 6122

    there a way i can do that like range of ips

    thanks,
     
    Matt.B, May 16, 2010 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    Hello there, I ran into this a while back, take a look at this site, it should help you:

    http://linuxindore.com/myblog/passive-port-range-in-windows-ftp

    Here is the just of it:

    "To add a range of ports to Windows Firewall from the Command Line

    1. Click Start, click Run, type cmd, and then click OK.
    2. Type in the following where the range is specified in ( ) and the name of the firewall entry is in " ".
    FOR /L %I IN (6116,1,6122) DO netsh firewall add portopening TCP %I "Passive FTP"%I
    3. Each port in the range will be added with an "OK" confirmation. "
     
    RHS-Chris, May 16, 2010 IP