`
kakaluyi
  • 浏览: 438874 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

Win7上防火墙开着没法被其他机器访问FTP Server的解决方案

阅读更多

The following 4 steps will allow both non-secure and SSL FTP traffic through firewall.

运行cmd,之后:

1.如果你的FTP是RC0之后的版本的话,直接跳到第3步骤;如果你的是RC0版本的话,需要在cmd里输入以下命令行然后按回车执行命令:

sc sidtype ftpsvc unrestricted

2.执行1步骤之后重启FTP服务:

net stop ftpsvc & net start ftpsvc

3.设置防火墙以允许“ftpsvc”服务监听它所开启的所有端口:

netsh advfirewall firewall add rule name="FTP for IIS7" service=ftpsvc action=allow protocol=TCP dir=in

4.确保禁止防火墙的FTP过滤:

netsh advfirewall set global Statefulftp disable


执行上述命令之后即可。

Warning: Do not use active FTP connections with SSL if client is behind NAT. It will not work.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics