原文链接:https://blog.csdn.net/iteye_1124/article/details/82302402
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.
————————————————
版权声明:本文为CSDN博主「iteye_1124」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。