<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.zhouba.cz/index.php?action=history&amp;feed=atom&amp;title=ZhoubaWiki%3AVsftpd</id>
	<title>ZhoubaWiki:Vsftpd - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.zhouba.cz/index.php?action=history&amp;feed=atom&amp;title=ZhoubaWiki%3AVsftpd"/>
	<link rel="alternate" type="text/html" href="https://wiki.zhouba.cz/index.php?title=ZhoubaWiki:Vsftpd&amp;action=history"/>
	<updated>2026-04-04T06:57:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wiki.zhouba.cz/index.php?title=ZhoubaWiki:Vsftpd&amp;diff=28&amp;oldid=prev</id>
		<title>Garak: Created page with &quot;=== Sample production config ===  &lt;pre&gt; # Example config file /etc/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.zhouba.cz/index.php?title=ZhoubaWiki:Vsftpd&amp;diff=28&amp;oldid=prev"/>
		<updated>2021-05-22T16:40:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=== Sample production config ===  &amp;lt;pre&amp;gt; # Example config file /etc/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Sample production config ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Example config file /etc/vsftpd.conf&lt;br /&gt;
#&lt;br /&gt;
# The default compiled in settings are fairly paranoid. This sample file&lt;br /&gt;
# loosens things up a bit, to make the ftp daemon more usable.&lt;br /&gt;
# Please see vsftpd.conf.5 for all compiled in defaults.&lt;br /&gt;
#&lt;br /&gt;
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.&lt;br /&gt;
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's&lt;br /&gt;
# capabilities.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
# Run standalone?  vsftpd can run either from an inetd or as a standalone&lt;br /&gt;
# daemon started from an initscript.&lt;br /&gt;
listen=YES&lt;br /&gt;
#&lt;br /&gt;
# Run standalone with IPv6?&lt;br /&gt;
# Like the listen parameter, except vsftpd will listen on an IPv6 socket&lt;br /&gt;
# instead of an IPv4 one. This parameter and the listen parameter are mutually&lt;br /&gt;
# exclusive.&lt;br /&gt;
#listen_ipv6=YES&lt;br /&gt;
#&lt;br /&gt;
# Allow anonymous FTP? (Disabled by default)&lt;br /&gt;
anonymous_enable=NO&lt;br /&gt;
#&lt;br /&gt;
# Uncomment this to allow local users to log in.&lt;br /&gt;
local_enable=YES&lt;br /&gt;
#&lt;br /&gt;
# Uncomment this to enable any form of FTP write command.&lt;br /&gt;
write_enable=YES&lt;br /&gt;
#&lt;br /&gt;
# Default umask for local users is 077. You may wish to change this to 022,&lt;br /&gt;
# if your users expect that (022 is used by most other ftpd's)&lt;br /&gt;
#local_umask=022&lt;br /&gt;
#&lt;br /&gt;
# Uncomment this to allow the anonymous FTP user to upload files. This only&lt;br /&gt;
# has an effect if the above global write enable is activated. Also, you will&lt;br /&gt;
# obviously need to create a directory writable by the FTP user.&lt;br /&gt;
#anon_upload_enable=YES&lt;br /&gt;
#&lt;br /&gt;
# Uncomment this if you want the anonymous FTP user to be able to create&lt;br /&gt;
# new directories.&lt;br /&gt;
#anon_mkdir_write_enable=YES&lt;br /&gt;
#&lt;br /&gt;
# Activate directory messages - messages given to remote users when they&lt;br /&gt;
# go into a certain directory.&lt;br /&gt;
dirmessage_enable=YES&lt;br /&gt;
#&lt;br /&gt;
# If enabled, vsftpd will display directory listings with the time&lt;br /&gt;
# in  your  local  time  zone.  The default is to display GMT. The&lt;br /&gt;
# times returned by the MDTM FTP command are also affected by this&lt;br /&gt;
# option.&lt;br /&gt;
use_localtime=YES&lt;br /&gt;
#&lt;br /&gt;
# Activate logging of uploads/downloads.&lt;br /&gt;
xferlog_enable=YES&lt;br /&gt;
#&lt;br /&gt;
# Make sure PORT transfer connections originate from port 20 (ftp-data).&lt;br /&gt;
connect_from_port_20=YES&lt;br /&gt;
#&lt;br /&gt;
# If you want, you can arrange for uploaded anonymous files to be owned by&lt;br /&gt;
# a different user. Note! Using &amp;quot;root&amp;quot; for uploaded files is not&lt;br /&gt;
# recommended!&lt;br /&gt;
#chown_uploads=YES&lt;br /&gt;
#chown_username=whoever&lt;br /&gt;
#&lt;br /&gt;
# You may override where the log file goes if you like. The default is shown&lt;br /&gt;
# below.&lt;br /&gt;
#xferlog_file=/var/log/vsftpd.log&lt;br /&gt;
#&lt;br /&gt;
# If you want, you can have your log file in standard ftpd xferlog format.&lt;br /&gt;
# Note that the default log file location is /var/log/xferlog in this case.&lt;br /&gt;
#xferlog_std_format=YES&lt;br /&gt;
#&lt;br /&gt;
# You may change the default value for timing out an idle session.&lt;br /&gt;
#idle_session_timeout=600&lt;br /&gt;
#&lt;br /&gt;
# You may change the default value for timing out a data connection.&lt;br /&gt;
#data_connection_timeout=120&lt;br /&gt;
#&lt;br /&gt;
# It is recommended that you define on your system a unique user which the&lt;br /&gt;
# ftp server can use as a totally isolated and unprivileged user.&lt;br /&gt;
#nopriv_user=ftpsecure&lt;br /&gt;
#&lt;br /&gt;
# Enable this and the server will recognise asynchronous ABOR requests. Not&lt;br /&gt;
# recommended for security (the code is non-trivial). Not enabling it,&lt;br /&gt;
# however, may confuse older FTP clients.&lt;br /&gt;
#async_abor_enable=YES&lt;br /&gt;
#&lt;br /&gt;
# By default the server will pretend to allow ASCII mode but in fact ignore&lt;br /&gt;
# the request. Turn on the below options to have the server actually do ASCII&lt;br /&gt;
# mangling on files when in ASCII mode.&lt;br /&gt;
# Beware that on some FTP servers, ASCII support allows a denial of service&lt;br /&gt;
# attack (DoS) via the command &amp;quot;SIZE /big/file&amp;quot; in ASCII mode. vsftpd&lt;br /&gt;
# predicted this attack and has always been safe, reporting the size of the&lt;br /&gt;
# raw file.&lt;br /&gt;
# ASCII mangling is a horrible feature of the protocol.&lt;br /&gt;
#ascii_upload_enable=YES&lt;br /&gt;
#ascii_download_enable=YES&lt;br /&gt;
#&lt;br /&gt;
# You may fully customise the login banner string:&lt;br /&gt;
#ftpd_banner=Welcome to blah FTP service.&lt;br /&gt;
#&lt;br /&gt;
# You may specify a file of disallowed anonymous e-mail addresses. Apparently&lt;br /&gt;
# useful for combatting certain DoS attacks.&lt;br /&gt;
#deny_email_enable=YES&lt;br /&gt;
# (default follows)&lt;br /&gt;
#banned_email_file=/etc/vsftpd.banned_emails&lt;br /&gt;
#&lt;br /&gt;
# You may restrict local users to their home directories.  See the FAQ for&lt;br /&gt;
# the possible risks in this before using chroot_local_user or&lt;br /&gt;
# chroot_list_enable below.&lt;br /&gt;
chroot_local_user=YES&lt;br /&gt;
#&lt;br /&gt;
# You may specify an explicit list of local users to chroot() to their home&lt;br /&gt;
# directory. If chroot_local_user is YES, then this list becomes a list of&lt;br /&gt;
# users to NOT chroot().&lt;br /&gt;
# (Warning! chroot'ing can be very dangerous. If using chroot, make sure that&lt;br /&gt;
# the user does not have write access to the top level directory within the&lt;br /&gt;
# chroot)&lt;br /&gt;
#chroot_local_user=YES&lt;br /&gt;
#chroot_list_enable=YES&lt;br /&gt;
# (default follows)&lt;br /&gt;
#chroot_list_file=/etc/vsftpd.chroot_list&lt;br /&gt;
#&lt;br /&gt;
# You may activate the &amp;quot;-R&amp;quot; option to the builtin ls. This is disabled by&lt;br /&gt;
# default to avoid remote users being able to cause excessive I/O on large&lt;br /&gt;
# sites. However, some broken FTP clients such as &amp;quot;ncftp&amp;quot; and &amp;quot;mirror&amp;quot; assume&lt;br /&gt;
# the presence of the &amp;quot;-R&amp;quot; option, so there is a strong case for enabling it.&lt;br /&gt;
#ls_recurse_enable=YES&lt;br /&gt;
#&lt;br /&gt;
# Customization&lt;br /&gt;
#&lt;br /&gt;
# Some of vsftpd's settings don't fit the filesystem layout by&lt;br /&gt;
# default.&lt;br /&gt;
#&lt;br /&gt;
# This option should be the name of a directory which is empty.  Also, the&lt;br /&gt;
# directory should not be writable by the ftp user. This directory is used&lt;br /&gt;
# as a secure chroot() jail at times vsftpd does not require filesystem&lt;br /&gt;
# access.&lt;br /&gt;
secure_chroot_dir=/var/run/vsftpd/empty&lt;br /&gt;
#&lt;br /&gt;
# This string is the name of the PAM service vsftpd will use.&lt;br /&gt;
pam_service_name=vsftpd&lt;br /&gt;
#&lt;br /&gt;
# This option specifies the location of the RSA certificate to use for SSL&lt;br /&gt;
# encrypted connections.&lt;br /&gt;
#rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem&lt;br /&gt;
#rsa_cert_file=/etc/ssl/private/vsftpd.pem&lt;br /&gt;
rsa_cert_file=/etc/ssl/certs/example_com.crt&lt;br /&gt;
# This option specifies the location of the RSA key to use for SSL&lt;br /&gt;
# encrypted connections.&lt;br /&gt;
#rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key&lt;br /&gt;
#rsa_private_key_file=/etc/ssl/private/vsftpd.pem&lt;br /&gt;
rsa_private_key_file=/etc/ssl/private/example_com.key&lt;br /&gt;
&lt;br /&gt;
pasv_enable=YES&lt;br /&gt;
pasv_min_port=40000&lt;br /&gt;
pasv_max_port=40100&lt;br /&gt;
&lt;br /&gt;
ssl_enable=YES&lt;br /&gt;
allow_anon_ssl=NO&lt;br /&gt;
force_local_data_ssl=NO&lt;br /&gt;
force_local_logins_ssl=NO&lt;br /&gt;
&lt;br /&gt;
ssl_tlsv1=YES&lt;br /&gt;
ssl_sslv2=NO&lt;br /&gt;
ssl_sslv3=NO&lt;br /&gt;
&lt;br /&gt;
require_ssl_reuse=NO&lt;br /&gt;
ssl_ciphers=HIGH&lt;br /&gt;
allow_writeable_chroot=YES&lt;br /&gt;
&lt;br /&gt;
seccomp_sandbox=no&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Garak</name></author>
	</entry>
</feed>