]>
Commit | Line | Data |
---|---|---|
f7fbb132 | 1 | # This is a basic ProFTPD configuration file (rename it to |
2 | # 'proftpd.conf' for actual use. It establishes a single server | |
3 | # and a single anonymous login. It assumes that you have a user/group | |
4 | # "nobody" and "ftp" for normal operation and anon. | |
5 | ||
6 | ServerName "ProFTPD" | |
d35cea9d | 7 | ServerIdent off |
f7fbb132 | 8 | ServerType inetd |
9 | DeferWelcome off | |
10 | DefaultServer on | |
11 | ||
765ae1a2 JR |
12 | # If you want .message files to work with browsers, you probably |
13 | # want to uncomment the next line | |
14 | #MultilineRFC2228 on | |
15 | ||
d35cea9d | 16 | # TCPD configuration |
3a6689de | 17 | # TCPServiceName ftp |
d35cea9d TO |
18 | #TCPAccessFiles None |
19 | #TCPAccessSyslogLevels info warn | |
20 | #TCPGroupAccessFiles None | |
21 | #TCPUserAccessFiles None | |
22 | ||
765ae1a2 | 23 | # These are the TLS related options, default values |
d35cea9d TO |
24 | #TLSEngine off |
25 | #TLSProtocol SSLv23 | |
26 | #TLSCipherSuite ALL:!ADH | |
27 | #TLSRSACertificateFile None | |
28 | #TLSRSACertificateKeyFile None | |
29 | #TLSDSACertficateFile None | |
30 | #TLSDSACertificateKeyFile None | |
31 | #TLSCACertificateFile None | |
32 | #TLSCACertificatePath None | |
33 | #TLSCARevocationFile None | |
34 | #TLSCARevocationPath None | |
35 | #TLSCertificateChainFile None | |
36 | #TLSDHParamFile None | |
37 | #TLSLog None | |
38 | #TLSOptions None | |
39 | #TLSRandomSeed openssl-dir/.rnd | |
40 | #TLSRenegotiate None | |
41 | #TLSRequired None | |
42 | #TLSTimeoutHandshake 300 | |
43 | #TLSVerifyClient None | |
44 | #TLSVerifyDepth 9 | |
765ae1a2 | 45 | |
f7fbb132 | 46 | # Port 21 is the standard FTP port. |
47 | Port 21 | |
48 | # Umask 022 is a good standard umask to prevent new dirs and files | |
49 | # from being group and world writable. | |
50 | Umask 022 | |
51 | ||
52 | # Set the user and group that the server normally runs at. | |
53 | User ftp | |
54 | Group ftp | |
55 | ||
c9d0f942 | 56 | # use PAM authoritative |
49321393 | 57 | AuthPAM on |
c9d0f942 | 58 | |
f7fbb132 | 59 | # Normally, we want files to be overwriteable. |
60 | <Directory /> | |
61 | AllowOverwrite on | |
62 | </Directory> | |
63 | ||
64 | #A basic anonymous configuration | |
65 | # uncoment this section below if you want gain annonymous ftp acces | |
970c3035 JR |
66 | <Anonymous ~ftp> |
67 | User ftp | |
68 | Group ftp | |
69 | AnonRequirePassword off | |
70 | RequireValidShell off | |
f7fbb132 | 71 | |
72 | # We want clients to be able to login with "anonymous" as well as "ftp" | |
970c3035 | 73 | UserAlias anonymous ftp |
f7fbb132 | 74 | |
75 | # Limit the maximum number of anonymous logins | |
970c3035 | 76 | MaxClients 10 |
f7fbb132 | 77 | |
78 | # We want 'welcome.msg' displayed at login, and '.message' displayed | |
79 | # in each newly chdired directory. | |
970c3035 JR |
80 | DisplayLogin welcome.msg |
81 | DisplayFirstChdir .message | |
f7fbb132 | 82 | |
970c3035 | 83 | AllowStoreRestart on |
f7fbb132 | 84 | |
85 | # Limit WRITE everywhere in the anonymous chroot | |
970c3035 JR |
86 | <Limit WRITE> |
87 | DenyAll | |
88 | </Limit> | |
f7fbb132 | 89 | |
3545746f | 90 | # <Directory /home/services/ftp/pub/Incoming> |
f7fbb132 | 91 | # <Limit READ> |
92 | # DenyAll | |
93 | # </Limit> | |
94 | # <Limit WRITE> | |
95 | # AllowAll | |
96 | # </Limit> | |
97 | # <Limit STOR> | |
98 | # AllowAll | |
99 | # </Limit> | |
100 | # </Directory> | |
970c3035 | 101 | </Anonymous> |