add custom firewall rule with netsh on Windows Server 2012R2

Advertisements

[ad#ad-post]

netsh advfirewall firewall add rule name="Port Scanner Range" dir=in action=allow protocol=ANY remoteip=192.168.1.96/27

netsh advfirewall firewall add rule name="Zabbix" dir=in action=allow protocol=ANY remoteip=192.168.1.85

[ad#ad-post]

Advertisements

Add a Comment

Your email address will not be published. Required fields are marked *