]>
Commit | Line | Data |
---|---|---|
ba022455 | 1 | # $Id$ |
f7fbb132 | 2 | |
3 | ServerName "ProFTPD" | |
7b7692b8 | 4 | ServerType standalone |
bfc20154 ER |
5 | DeferWelcome off |
6 | DefaultServer on | |
f7fbb132 | 7 | |
765ae1a2 JR |
8 | # If you want .message files to work with browsers, you probably |
9 | # want to uncomment the next line | |
bfc20154 | 10 | #MultilineRFC2228 on |
765ae1a2 | 11 | |
f7fbb132 | 12 | # Port 21 is the standard FTP port. |
13 | Port 21 | |
14 | # Umask 022 is a good standard umask to prevent new dirs and files | |
15 | # from being group and world writable. | |
16 | Umask 022 | |
17 | ||
18 | # Set the user and group that the server normally runs at. | |
19 | User ftp | |
20 | Group ftp | |
21 | ||
f8cc83f1 ER |
22 | # use separate auth files instead of system auth |
23 | #AuthUserFile /etc/ftpd/passwd | |
24 | #AuthGroupFile /etc/ftpd/group | |
c9d0f942 | 25 | |
f7fbb132 | 26 | # Normally, we want files to be overwriteable. |
27 | <Directory /> | |
28 | AllowOverwrite on | |
29 | </Directory> | |
30 | ||
bfc20154 ER |
31 | # lock users to their homedir |
32 | DefaultRoot ~ | |
33 | ||
34 | # allow resume uploads and downloads | |
35 | AllowRetrieveRestart on | |
36 | AllowStoreRestart on | |
37 | ||
38 | # enable this to have your ftp server FXP gateway. | |
39 | # only enable this if you trust your users as it allows your ftp server to connect anywhere. | |
40 | # DO NOT enable this if you have anonymous logins enabled! | |
41 | #AllowForeignAddress on | |
42 | ||
43 | # NAT support | |
44 | # http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-NAT.html | |
45 | #MasqueradeAddress my.domain.com | |
46 | #PassivePorts 60000 65535 | |
47 | ||
48 | # Do not announce server software at logon. for paranoids. | |
49 | #ServerIdent off | |
50 | ||
51 | # To prevent DoS attacks, set the maximum number of child processes | |
52 | # to 30. If you need to allow more than 30 concurrent connections | |
53 | # at once, simply increase this value. Note that this ONLY works | |
54 | # in standalone mode, in inetd mode you should use an inetd server | |
55 | # that allows you to limit maximum number of processes per service | |
56 | # (such as xinetd). | |
57 | MaxInstances 30 | |
58 | ||
59 | # Idle | |
60 | TimeoutLogin 300 | |
61 | TimeoutNoTransfer 300 | |
62 | ||
ba022455 | 63 | # Load additional (modules) config |
f8cc83f1 | 64 | Include /etc/ftpd/conf.d/*.conf |