Summary: What is an FTP server? How to build? How do intranet users allow external networks to access their FTP servers? This article will introduce you to how to build an FTP server based on these aspects. What is an ftp server? Illustrated steps to build an ftp server
What is an ftp server
FTP server (FileTransferProtocolServer) is a computer that provides file storage and access services on the Internet. They follow FTP Agreement to provide services. FTP is FileTransferProtocol (File Transfer Protocol). As the name suggests, it is a protocol specifically used to transfer files. Simply put, a server that supports the FTP protocol is an FTP server.
ftp server setup
Start IIS after completion; proceed in two steps (global settings, FTP service enabled):
First, global settings:
1. Click on the home page on the left side of IIS. What needs to be set are: server certificate (SSL), FTPSSL settings, FTP authentication, FTP authorization rules
2. Server certificate (SSL):
Enter-Create a self-signed certificate-Choose a name-OK
3.FTPSSL settings:
Enter-Select the certificate created in the previous step-Click: Allow SSL link- OK
4. FTP authentication:
Enter-if you enable what you need-I require the user to enter a password and username, so enable "Basic Authentication"-OK
5.FTP authorization rules:
Enter-Add permission rule-Specified role or user group-Enter role name-Permission check-OK
Step 1 Global The setup is complete; it can be said that 70% of the work is completed, and the rest will be easy.
Second, turn on the FTP service
1. Click on the URL-right-click-add FTP site-enter a name-select the path
You need to pay attention here: the selected The path cannot be a system directory such as "Windows", etc. The user previously set globally must have corresponding operating permissions for the selected directory (can be modified and viewed in Folder-Properties-Security)
2. Bind Define and SSL settings:
Next step: The IP address is basically ignored, and the port defaults to 21 (or it can be other; you need to open the corresponding port access rights in the firewall settings)
SSL: Check "Allow" and select the previously created SSL certificate-OK
3. Authentication and authorization information:
Authentication can be determined by yourself, but basically it will not work if it is not checked. Login user
Authorization-specified role or user group-enter role name (same as global settings, of course there may be multiple global settings, you can set one of them here)-check permissions
< p>Fault, problem solving:1. If it cannot be accessed, this is a problem with your firewall!
Open the firewall and click Advanced Settings. Add rules in the inbound rules and outbound rules respectively:
The settings are as follows: Port->TCP specific 21->Run connection->All (domain..)->Name and description can be inbound. The same rules as outbound. OK
Restart IIS, now test: ftp://your IP or domain name
1. You can enter after logging in to the FTP software
2. You can enter after logging in with the browser
3. You can also enter through the resource manager
2. If you encounter the following when logging in to the FTP software:
534PolicyrequiresSSl
Please check the SSL settings above. There must be a certificate, and the external global SSL must be set to "Allow". The SSL of the FTP site must also be set to "Allow".
Wish you success in showing up: