aboutsummaryrefslogtreecommitdiff
path: root/usr/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'usr/pkg')
-rw-r--r--usr/pkg/etc/vsftpd/vsftpd.conf47
1 files changed, 47 insertions, 0 deletions
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
+