ProFTPDThe design goal is to implement a secure and easy-to-set FTP Server. This article describes how to implement a VM in The Proftpd environment.
It can be implemented through the command: VirtualHost. The simplest example is as follows:
ServerName "virtual FTP server"
If you only want to access a VM anonymously, use the following! Command:
Serv erName "virtual FTP server"
DenyAll
User private
Group private
AllowAll
In this way, the host of 192.168.2.35 only allows anonymous logon.
The content of my proftpd. conf configuration file is:
- # This is a basic ProFTPD configuration file (rename it to
-
- # 'proftpd.conf' for actual use. It establishes a single server
-
- # and a single anonymous login. It assumes that you have a user/group
-
- # "nobody" and "ftp" for normal operation and anon.
ServerName &! Quot; test.com.cn FTP Server"
ServerType standalone
DefaultServer on
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# From being group and world writable.
Umask 022
- # To prevent DoS attacks, set the maximum number of child processes
-
- # to 30. If you need to allow more than 30 concurrent connections
-
- # at once, simply increase this value. Note that this ONLY works
-
- # in standalone mode, in inetd mode you should use an inetd server
-
- # that allows you to&! nbsp;limit maximum number of processes per&nb sp;service
-
- # (such as xinetd)
MaxInstances 30
RequireValidShell off
ServerIdent off
# Set the user and group that the server normally runs.
User nobody
Group nobody
# Normally, we want files to be overwriteable.
AllowOverwrite on
# A basic anonymous configuration, no upload directories.
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 10
# We! ; Want 'Welcome. msg 'displayed at login, and '. message' displayed
# In each newly chdired directory.
DisplayLogin welcome. msg
DisplayFirstChdir. message
# Limit WRITE everywhere in the anonymous chroot
DenyAll
DefaultRoot ~ Ftpusers
ServerName "virtual FTP server"
DenyAll
User private
Group private
AllowAll
As described in this article, I hope you can understand how Proftpd sets up a VM!
- Proftpd does not display ftp server version information for enhanced security
- Implement Proftpf to limit future access to a directory
- Gentleman LAN ProFTPD in FTP Server
- Features of ProFTPD
- Main features of ProFTPD
- ProFTPD operation process
- Proftpd Overview