在Windows Server 2008 R2上设置FTP 服务
微软有些时候也挺傻的,刚配置了一个windows server 2008 R2的FTP服务,突然有种想笑的冲动。。。。具体过程如下:
[*]安装 相关的服务器角色
Install the Web Server role with the IIS Management Console and FTP Server role services:
http://www.bunkerhollow.com/blogs/matt/2008r2Ftp1_thumb_6A324A0F.png
[*]建立一个FTP站点
Create a new FTP Site:
http://www.bunkerhollow.com/blogs/matt/image_thumb_02C1E760.png
[*]绑定IP地址和端口
Setup the site with the default bindings and choose Allow SSL if you don’t plan on deploying a certificate:
http://www.bunkerhollow.com/blogs/matt/image_thumb_623AA7AD.png
[*]设置访问权限
Configure user permissions and basic or anonymous permission.If your server is connected to your domain you can specify domain users, otherwise they must be local user accounts:
http://www.bunkerhollow.com/blogs/matt/image_thumb_61CE74B8.png
[*]最精彩的部分来了,虽然在防火墙的设置里面已经有了FTP Server的Exception,但是其实他并没有真正的允许任何访问,不相信的可以试试,直到这步,本机测试一切正常,但外网无法连接, 必须要手动指定!
Finally you’ll have to configure your server’s firewall rules to allow access.Personally, I think Microsoft’s done a great job up until this point… it’s a shame it couldn’t last.Disregard any existing FTP firewall rules; although they should be enabled, they don’t actually allow access!Run Allow a Program Through Windows Firewall and grant access to C:\Windows\System32\svchost.exe
http://www.bunkerhollow.com/blogs/matt/image_thumb_1A791EC6.png
http://www.bunkerhollow.com/blogs/matt/image_thumb_4C048C5B.png
[*]搞定收工
以上图片及内容来自 http://www.bunkerhollow.com/blogs/matt/archive/2010/05/02/windows-server-2008-r2-ftp-and-firewall-setup.aspx
页:
[1]