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.
Win7上防火墙开着没法被其他机器访问FTP Server的解决方案
猜你喜欢
转载自kakaluyi.iteye.com/blog/1466299
今日推荐
周排行