Monday, March 19, 2012

Windows Server 2008 R2 FTP and Firewall Setup


  •  Install the Web Server role with the IIS Management Console and FTP Server role services:
     
    Server 2008 R2 FTP Role Services
     
  • Create a new FTP Site:
     
    Server 2008 R2 FTP Site Information
     
  • Setup the site with the default bindings and choose Allow SSL if you don’t plan on deploying a certificate:
     
    Server 2008 R2 FTP Binding and SSL Settings
     
  • 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:
     
    Server 2008 R2 FTP Authentication and Authorization Information
     
  • 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
     
    Server 2008 R2 FTP Firewall Add a Program 
    Server 2008 R2 FTP Firewall Allow Programs to communciate through Windows Firewall
  • Subscribe to RSS Feed Follow me on Twitter!