Deru Knowledgebase
Search:     Advanced search
Browse by category:
Contact Us

To open the port range in windows firewall

Add comment
Views: 1641
Votes: 0
Comments: 0
Posted: 04 May, 2008
by:
Updated: 04 May, 2008
by:
When you click on windows firewall you do not find an option to add a range of ports. You can add only one port at a time. The other way is to add ports range from the command prompt. For this do like this.

In cmd:
 
 FOR /L %I IN (5500,1,5700) DO netsh firewall add portopening TCP %I "Passive FTP"%I

 
 It will add the ports from 5500 to 5700 incremented by 1. The result will be an "OK" for each of the ports. This will be extremely helpful when you try to open the passive FTP ports..
Others in this Category
document How to find uptime of a windows/Linux server ?
document Adding SPF Record in the Windows DNS server
document Monitoring and terminating runaway process in Windows
document FTP login problem in Windows Plesk platform
document Schedule MSSQL backup in 2005 with maintenance clean up task
document How to create a new user on Windows 2000 & 2003 Server?
document How to password protect a folder in IIS?
document How to configure SQL Server 2005 to allow remote connections
document HOW TO: Create a New Zone on a DNS Server in Windows Server 2003
document Shrinking the Transaction Log in SQL Server 2000 with DBCC SHRINKFILE
document How to create a new user for a database in Microsoft SQL Server 2005
document Steps to clear Browser cache
document How to clear DNS Cache



RSS