Windows防火墙放行3389的端口

  • 发表于
  • 周边

用Netsh命令,设置Windows防火墙例外的端口,如:

1. netsh firewall set opmode enable
2. netsh firewall add portopening TCP 3389 RDP enable any

参考: http://www.windowsnetworking.com/articles_tutorials/Using-Netsh-Windows-Firewall.html