打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
防火墙规则
1、允许指定程序进入,命令如下:
  netsh advfirewall firewall add rule name="pass nc" dir=in action=allow program="C:\nc.exe"
2、允许指定程序退出,命令如下:
  netsh advfirewall firewall add rule name="Allow nc" dir=out action=allow program="C:\nc.exe"
3、允许3389端口放行:
  netsh advfirewall firewall add rule name="Remote Desktop" protocol=TCP dir=in localport=3389 action=allow
4、自定义防火墙日志的存储位置
  netsh advfirewall set currentprofile logging filename "C:\windows\temp\fw.log"
 5、查看防火墙及配置
   netsh firewall show config
 6、停止防火墙
    net  stop "Windows Firewall/Internet Connection Sharing (ICS)"
 7、禁用防火墙
    sc config sharedaccess start= disabled
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Windows批处理:配置防火墙规则、开启远程桌面
win server2008关闭危险端口445,135,137,138,139的方法
【内网渗透】内网信息收集命令汇总
NSIS:使用CMD命令添加新入站或出站防火墙规则
Windows 2008防火墙配置教程(一)
Windows中Netsh命令的典型应用
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服