微软有些时候也挺傻的,刚配置了一个windows server 2008 R2的FTP服务,突然有种想笑的冲动。。。。

 

具体过程如下:

  1. 安装 相关的服务器角色
    Install the Web Server role with the IIS Management Console and FTP Server role services:
    在Windows Server 2008 R2上设置FTP 服务
  2. 建立一个FTP站点
    Create a new FTP Site:
    在Windows Server 2008 R2上设置FTP 服务
  3. 绑定IP地址和端口
    Setup the site with the default bindings and choose Allow SSL if you don’t plan on deploying a certificate:
    在Windows Server 2008 R2上设置FTP 服务
  4. 设置访问权限
    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:
    在Windows Server 2008 R2上设置FTP 服务
  5. 最精彩的部分来了,虽然在防火墙的设置里面已经有了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
    在Windows Server 2008 R2上设置FTP 服务
    在Windows Server 2008 R2上设置FTP 服务
  6. 搞定收工

以上图片及内容来自 http://www.bunkerhollow.com/blogs/matt/archive/2010/05/02/windows-server-2008-r2-ftp-and-firewall-setup.aspx

相关文章:

  • 2022-12-23
  • 2021-06-12
  • 2021-09-24
  • 2021-12-15
  • 2021-09-11
  • 2022-12-23
  • 2021-12-31
猜你喜欢
  • 2021-09-12
  • 2021-04-04
  • 2021-08-19
  • 2021-05-20
  • 2021-04-05
  • 2021-06-15
相关资源
相似解决方案