1#
2# For more information about Proftpd configuration
3# see http://www.proftpd.org/
4#
5# This is a basic ProFTPD configuration file (rename it to
6# 'proftpd.conf' for actual use.  It establishes a single server
7# and a single anonymous login.  It assumes that you have a user/group
8# "nobody" and "ftp" for normal operation and anon.
9
10ServerName			"ProFTPD Default Installation"
11ServerType			standalone
12DefaultServer			on
13ScoreboardFile		/var/run/proftpd/proftpd.scoreboard
14
15# Port 21 is the standard FTP port.
16Port				21
17
18# Use IPv6 support by default.
19UseIPv6				on
20
21# Umask 022 is a good standard umask to prevent new dirs and files
22# from being group and world writable.
23Umask				022
24
25# To prevent DoS attacks, set the maximum number of child processes
26# to 30.  If you need to allow more than 30 concurrent connections
27# at once, simply increase this value.  Note that this ONLY works
28# in standalone mode, in inetd mode you should use an inetd server
29# that allows you to limit maximum number of processes per service
30# (such as xinetd).
31MaxInstances			30
32
33CommandBufferSize	512
34
35# Set the user and group under which the server will run.
36User				nobody
37Group				nogroup
38
39# To cause every FTP user to be "jailed" (chrooted) into their home
40# directory, uncomment this line.
41#DefaultRoot ~
42
43# Normally, we want files to be overwriteable.
44AllowOverwrite		on
45
46# Bar use of SITE CHMOD by default
47<Limit SITE_CHMOD>
48  DenyAll
49</Limit>
50
51# A basic anonymous configuration, no upload directories.  If you do not
52# want anonymous users, simply delete this entire <Anonymous> section.
53
54#########################################################################
55#                                                                       #
56# Uncomment lines with only one # to allow basic anonymous access       #
57#                                                                       #
58#########################################################################
59
60#<Anonymous ~ftp>
61#   User				ftp
62#   Group				ftp
63
64  ### We want clients to be able to login with "anonymous" as well as "ftp"
65  # UserAlias			anonymous ftp
66
67  ### Limit the maximum number of anonymous logins
68  # MaxClients			10
69
70  ### We want 'welcome.msg' displayed at login, and '.message' displayed
71  ### in each newly chdired directory.
72  # DisplayLogin			welcome.msg
73  # DisplayFirstChdir		.message
74
75  ### Limit WRITE everywhere in the anonymous chroot
76  # <Limit WRITE>
77  #   DenyAll
78  # </Limit>
79#</Anonymous>
80
81