Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 376
  • Last Modified:

Windows Server 2008 R2 Web Advanced Firewall

Hi,

I've have a Windows 2008 Server R2 Web. I I need to add around ~50 CIDR blocks (to allow RDP, FTP etc.) for each service. It would take me some hours if I do it manually by pressing add new IP on advanced firewall.

 Is there any way to batch update the servive's allow list via PowerShell? (for example FTP or RDP)
0
mustalammas
Asked:
mustalammas
1 Solution
 
connectexCommented:
You mentioned using PowerShell but you can do it via the netsh command. It can be used to make changes to  Windows firewall. See this article (#7): http://www.windowsnetworking.com/articles_tutorials/10-Windows-Server-2008-Netsh-commands.html.

-Matt-
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Tackle projects and never again get stuck behind a technical roadblock.
Join Now