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