Monthly Archives:: December 2010

Command Line Firewall Automation Script (and Service)

Posted by & filed under Uncategorized.

A handy command I’ve found, I’ve often used in scripts updates the windows advanced firewall… netsh advfirewall firewall add rule name=”Home PC” dir=in action=allow protocol=TCP remoteip=123.123.123.123 A problem I had was that I’d secured a hosted server by limiting Remote Desktop protocol down to my work IP Address Range. I also needed to get to […]