ClioSport.net

Register a free account today to become a member!
Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • When you purchase through links on our site, we may earn an affiliate commission. Read more here.

Windows Firewall (command line)



  Fiesta ST
I've opened a range of ports on windows firewall (server 2003) (as I was testing something) with the command line:

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


I need to now close these ports as I finished the testing, Anyone know the command to close ports 5500 - 5700?
 
  Fiesta ST
tried that :( get an error - I've reverted to firewall reset - seems to have cleared the ports.

cheers anyway
 
  Black 172...KN53EL*
no probs mate, I only had access to XP and it worked here - thought it might be the same (your add command worked on XP but I guess they changed the delete command slightly)
 


Top