Can I create an FTP server on the Intranet? Can I create an FTP server with a dynamic IP address? Can different users have different FTP permissions (access to different FTP folders )? Have you encountered the problem that intranet users can access the FTP server, but Internet users cannot access it? Have you encountered the problem that some users on the internet can access the FTP server while others cannot?
1. Select an FTP server
1) FTP server provided by IIS.
2) third-party Serv-U, supporting multiple users. Different users can set different directory access permissions.
Serv-U used in this article.
2. Create an FTP domain
Open Serv-U administrator.
Select Serv-U Server> Local Server> domain, right-click the new domain.
Domain IP Address: local IP address, domain name: ddboyftp, Port: 21
3. FTP user permission settings
enable Serv-U administrator.
1) create a user
select Serv-U Server> Local Server> domain> ddboyftp> User, right-click to create a user.
enter the user name and password, select the main directory, and lock the user in the main directory.
2) set the user's directory access permission
select Serv-U Server> Local Server> domain> ddboyftp> User.
select a user and set the user's access permissions on the directory access tab.
file permissions: read, write, append, delete, and execute.
directory permissions: List, create, and remove.
subdirectory permissions: Inherit.
4. Use a dynamic IP address
1) apply for the dynamic domain name resolution service.
Please refer to: Use the alias (cname) record to resolve top-level domain names to dynamic IP for free
2) Enable Dynamic DNS
enable Serv-U administrator.
select Serv-U Server> Local Server> domain> ddboyftp.
select the "Domain" tab to enable dynamic dns.
enter the domain name in the "ip name" area on the "Dynamic DNS" tab, press refresh (the IP address is automatically displayed ).
5. Use passive mode (PASV)
Open Serv-U administrator.
1) allow data transmission in passive mode
Select Serv-U Server> Local Server> domain> ddboyftp> Settings.
On the "advanced" tab, select "allow passive mode data transmission" (blank with IP address ).
2) set the psav port range
Select Serv-U Server> Local Server> Settings.
Select the "advanced" tab, "In psav port range", and enter the port range. Example: 58001-58010
6. Set the firewall to open the relevant port for the FTP server
FTP port: 21
Port range of psav: 58001-58010
7. Set port ing to create an FTP server on the Intranet
On the vro or proxy server, you can also configure port ing for the FTP server through the Windows Firewall.
These ports include:
FTP port: 21
Port range of psav: 58001-58010
Map these ports to the IP addresses of the FTP service computers in your LAN.
Note: whether the Internet can access the FTP server is related to firewall and port ing.
Some users can access the Internet, and some users cannot access the Internet, which is related to the passive mode.
Address: http://www.cnblogs.com/anjou/archive/2007/04/18/716767.html