[Webinar] Streamline your web hosting managementRegister Today

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

How to command-modify my firewall rule? Win 2008 Adv Firewall

Advanced Firewall on Windows 2008 R2 server

GIven my firewall rule:  BlockSpammers

How can I add an IP address to the scope via a command line, script, etc...other than going into the GUI?

I see no way to modify a rule with netsh advfirewall.   Can someone post me an example of modifying a FW rule (adding an IP to its scope) using a script?

Thanks!
0
arthurh88
Asked:
arthurh88
1 Solution
 
arthurh88Author Commented:
but i already mentioned netsh in my question.  i can find no example of netsh to add an IP to the scope of an existing rule.  do you have an example?
0
 
ChiefITCommented:
The problem with a spammer is they use spam bots on a botnet to spam others. This does two things for a spammer:

1) hides their true identity by using a victimized computer from an unsuspecting person within the botnet
2) makes it difficult to make an IP based filter to filter out spammers.

Your best bet is to buy a hardware spam filtering solution like a mxgaurddog, or mailwasher. This views the subject and often the text of a message to determine if it follows certain text and patters of a known spam..

Hiding behind an IP filter of a firewall is really not going to help you in many cases, UNLESS all you use your email for is INTERNAL MAIL. Then you can block all external mail from entering into your network from external sources.
0
 
Ben ConnerCTO, SAS developerCommented:
While this has already been closed, can anyone provide a sample netsh command requested by the original poster?  There are other reasons one might want this capability.

Thanks!

--Ben
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

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