How To Configure Windows Firewall Passive Port Range 10000 - 11000 TCP
How To Configure Windows Firewall Passive Port Range 10000 - 11000 TCP
Below is a simple batch script to open passive port range between 10000 to 11000 TCP.
You can change the port if needed, I just take this as example.
First, login into your windows server box with RDP
Click Start >> Run >> Command
You will see a command prompt box,
Edit a file and name it passive.bat
### copy and paste batch files script below to open passive port range in your windows firewall ###
[code]@Echo OFF
ECHO ADDING PORT RANGE TO IIS
C:\Inetpub\AdminScripts\adsutil.vbs set /MSFTPSVC/PassivePortRange “10000-11000"
ECHO OPENING FIREWALL PORTS
FOR /L %%I IN (10000,1,11000) DO NETSH FIREWALL ADD PORTOPENING TCP %%I FTPPort%%I
ECHO FINISHED
Pause[/code]
################################################################
You can just running this script like below to added passive port into windows firewall
[code]c:\passive.bat[/code]
Wait for a while and press Enter to Finished.
Recent blog posts |
Recent comments
|
Comments
Thank you
Thanks for this.
Post new comment