How to install and configure FTP on IIS 8 in Windows Server 2012 | How to setup FTP server 2012 R2

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.ค. 2024
  • #Configureftp #iis #FTP #Microsoft #Server #Windows2012 #R2
    Hello Friends,
    Will teach you how to set up an FTP server in Windows 2012, I am also going to show you how to access through LAN & WAN.
    Requirements
    -A Windows 2012 R2 server.
    -An administrative account.
    1- Enable Web Server (IIS) role and FTP Server role service.
    -Log in using an administrative account
    -Open Server Manager
    -Go to Manage - Add Roles and Features
    -Click Next
    -Select Role-based or feature-based installation
    -Click Next
    -Select your server
    -Click Next.
    - Scroll down and put a checkmark in Web Server (IIS)
    -Add features window pops up. Put a checkmark in the Include management tools (if applicable) option
    -Click Add Features button
    -Click Next
    -Click Next
    -Click Next
    -Scroll down and put a checkmark in FTP server,
    -Select FTP Service and FTP Extensibility.
    -Click Next
    -Click Install
    - installation is finished, click Close
    2- Create FTP users.
    -Create users in Windows in order to be able to use FTP services.
    - You can use either local or domain users.
    - I am creating some local users.
    - If you are using domain users is, when you log in to FTP, you must use the domain/account format.
    - In Server Manager go to Tools
    -Click Computer Management
    -Click Local Users and Groups
    -Click Users
    - right-click a blank area and then select New User
    3- Configuring FTP global IIS settings.
    It is very easy, follow the steps below:
    - In Server Manager - go to Tools
    Click Internet Information Services (IIS) Manager.
    - double-click the server icon (in the tree below the option Start Page)
    - Select Do not show this message and click the No button
    - double-click the FTP Authentication icon
    -right-click Anonymous Authentication and set it to Enable.
    -C lick Basic Authentication - set it to Enable.
    - double-click the server icon.
    - Double click the FTP Authorization Rules option
    -Delete all rules in the centre pane.
    -After all, rules have been deleted, right-click a blank area in the centre pane and select the option Add Allow Rule…
    -Click the option Specified users.
    -Check either the boxes Read or Write depending the access you want to grant.
    -Click the OK button
    4- Creating an FTP site.
    - Open Windows Explorer
    - Navigate to C:\inetpub\ftproot (default local folder )
    -Create your own folder at this point if it is desired.
    -Open Server Manager
    -Go to Tools
    -Click on Internet Information Services (IIS) Manager
    -In the left pane - right-click the server icon (in the tree below the option Start Page)
    -lick Add FTP Site
    - In FTP site name type a friendly name for your site. (My FTP Site for example)
    - Physical path browse to the folder you creates Click Next
    - Select the server’s IP address you want to assign to the site
    -Port remains as 21 by default.
    - Ensure the option Start FTP site automatically is checked
    - Select the No SSL option if you are nor required to use certificates. select one of the other options.
    -Click Next
    - In the Authentication section, put a checkmark in Anonymous If you want to allow anonymous users.
    - Select Basic to allow access to users created in Part Two.
    - in the Allow access to drop-down menu, select: Specified Users
    - Check the box Write to grant write access to users.
    Click Finish
    5- IIS Firewall setup.
    - In Server Manager
    - go to Tools
    - Click Internet Information Services (IIS) Manager.
    - double-click the server icon (in the tree below the option Start Page)
    -In the centre pane, double-click the FTP Firewall Support icon
    - In the Data Channel Port Range box, make sure the value is 0-0 to use the default port range.
    -Click Apply
    -Close Internet Information Services (IIS) Manager
    6- Windows Firewall setup.
    -By default, all exceptions needed for FTP are added to the Windows Firewall at the time you enable the FTP Server role.
    -Open Server Manager
    -Click Local Server
    - In the right pane, click the hyperlink beside the Windows Firewall option. It should say Public: On (or Off).
    -The Windows firewall window opens. In the left pane click Advanced Settings
    - In Advanced Security window opens. In the left pane click Inbound Rules.
    - In the right pane, verify there’s a rule called FTP Server (FTP Traffic-In)
    -Double click this rule
    -In the General tab, verify the option Enabled is checked.
    -Go to the Protocols and Ports tab.
    -Verify the Protocol type is TCP and the Local port value is 21.
    -Go to the Advanced tab
    -Make sure firewall profile: Domain, Private and Public are checked.
    -Click OK button
    - FTP Server Passive (FTP Passive Traffic-In) rule. Except that the local port value in this rule should be1024-65535
    -FTP Server Secure (FTP SSL Traffic-In) rule. Except that the local port value in this rule should be 990
    In the left pane, click Outbound Rules
    - FTP Server (FTP Traffic-Out) rule. Except that the local port value in this rule should be 20
    - FTP Server Secure (FTP SSL Traffic-Out) rule. Except that the local port value in this rule should be 989

ความคิดเห็น • 3