From a6dc42a009a6f1bb467a78422ef52698ef198828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 6 Aug 2021 13:30:00 +0200 Subject: Add /usr/pkg/etc/vsftpd/vsftpd.conf --- usr/pkg/etc/vsftpd/vsftpd.conf | 47 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 usr/pkg/etc/vsftpd/vsftpd.conf (limited to 'usr/pkg/etc') diff --git a/usr/pkg/etc/vsftpd/vsftpd.conf b/usr/pkg/etc/vsftpd/vsftpd.conf new file mode 100644 index 0000000..d089825 --- /dev/null +++ b/usr/pkg/etc/vsftpd/vsftpd.conf @@ -0,0 +1,47 @@ +# Activate directory messages - messages given to remote users when they +# go into a certain directory. +dirmessage_enable=YES +# +# Activate logging of uploads/downloads. +#xferlog_enable=YES +# +# Make sure PORT transfer connections originate from port 20 (ftp-data). +connect_from_port_20=YES +# +# It is recommended that you define on your system a unique user which the +# ftp server can use as a totally isolated and unprivileged user. +#nopriv_user=ftpsecure +# +# You may fully customise the login banner string: +#ftpd_banner=Welcome to blah FTP service. + +anonymous_enable=NO + +#pam_service_name=vsftpd +#anon_root=/srv/ftp + +secure_chroot_dir=/var/empty +no_anon_password=YES +seccomp_sandbox=NO +pasv_enable=YES +pasv_min_port=10090 +pasv_max_port=10100 + +chroot_local_user=YES +passwd_chroot_enable=YES +allow_writeable_chroot=YES + +# It is safe to allow writeable chroot as we are chrooting users to +# their home directories. + +local_enable=YES +write_enable=YES +file_open_mode=0777 +local_umask=0002 + +userlist_enable=YES +userlist_file=/usr/pkg/etc/vsftpd/userlist +userlist_deny=NO + +#log_ftp_protocol=YES + -- cgit v1.2.3