Created
October 3, 2023 20:25
-
-
Save stefanpejcic/460141591861c26201689456df8892e8 to your computer and use it in GitHub Desktop.
vsftpd.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enable standalone mode and disable anonymous FTP | |
listen=YES | |
anonymous_enable=NO | |
# Allow local users to login | |
local_enable=YES | |
# Enable write access for local users | |
write_enable=YES | |
# Set the umask to control permissions of uploaded files | |
local_umask=022 | |
# Limit the maximum number of concurrent clients | |
max_clients=200 | |
max_per_ip=10 | |
# Enable ASCII mode for file transfers | |
ascii_upload_enable=YES | |
ascii_download_enable=YES | |
# Set the welcome banner for the FTP server | |
ftpd_banner=Welcome to My FTP Server | |
# Specify the chroot directory to restrict users to their home directories | |
chroot_local_user=YES | |
allow_writeable_chroot=YES | |
# Log FTP transactions | |
xferlog_enable=YES | |
xferlog_file=/var/log/vsftpd.log | |
# Restrict users to their home directories | |
chroot_local_user=YES | |
chroot_list_enable=YES | |
chroot_list_file=/etc/vsftpd.chroot_list | |
# Allow or deny specific users access | |
userlist_enable=YES | |
userlist_file=/etc/vsftpd.user_list | |
userlist_deny=NO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment