我需要configuration防火墙,这将允许我连接通过只有特定的IP地址说10.0.0.1所有端口范围从0-5555,并拒绝所有其他的IP地址?
netsh firewall命令的语法是什么将在Windows 2008R2机器上生成这种types的规则?
你可以使用这些命令:
netsh advfirewall firewall add rule name="My Trusted In" dir=in action=allow protocol=ANY remoteip=62.9.97.12
netsh advfirewall firewall add rule name="My Trusted Out" dir=out action=allow protocol=ANY remoteip=62.9.97.12