add custom firewall rule with netsh on Windows Server 2012R2

[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]

Add a Comment

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