]> git.pld-linux.org Git - packages/proftpd.git/blob - proftpd.conf
- TLS examples
[packages/proftpd.git] / proftpd.conf
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"
7 ServerType                      inetd
8 DeferWelcome                    off
9 DefaultServer                   on
10
11 # Set this to "on" if you are running in standalone mode!
12 UseTCPD                         off
13 TCPDServiceName                 ftp
14
15 # If you want .message files to work with browsers, you probably
16 # want to uncomment the next line
17 #MultilineRFC2228               on
18
19 # These are the TLS related options, default values
20 #TlsRsaCertFile                 ftpd-rsa.pem
21 #TlsRsaKeyFile                  ftpd-rsa-key.pem
22 #TlsDsaCertFile                 ftpd-dsa.pem
23 #TlsDsaKeyFile                  ftpd-dsa-key.pem
24 #TlsCrlFile                     ftpd-crl.pem
25 #TlsDhParamFile                 ftpd-dhparam.pem
26 #TlsCipherList                  ALL:!EXP
27 # don't verify any peer certificates
28 #TlsCertsOk                     off
29
30 # Port 21 is the standard FTP port.
31 Port                            21
32 # Umask 022 is a good standard umask to prevent new dirs and files
33 # from being group and world writable.
34 Umask                           022
35
36 # Set the user and group that the server normally runs at.
37 User                            ftp
38 Group                           ftp
39
40 # Normally, we want files to be overwriteable.
41 <Directory />
42         AllowOverwrite          on
43 </Directory>
44
45 #A basic anonymous configuration
46 # uncoment this section below if you want gain annonymous ftp acces
47 <Anonymous ~ftp>
48         User                    ftp
49         Group                   ftp
50         AnonRequirePassword     off
51         RequireValidShell       off
52
53         # We want clients to be able to login with "anonymous" as well as "ftp"
54         UserAlias               anonymous ftp
55
56         # Limit the maximum number of anonymous logins
57         MaxClients              10
58
59         # We want 'welcome.msg' displayed at login, and '.message' displayed
60         # in each newly chdired directory.
61         DisplayLogin            welcome.msg
62         DisplayFirstChdir       .message
63
64         AllowStoreRestart on
65
66         # Limit WRITE everywhere in the anonymous chroot
67         <Limit WRITE>
68                 DenyAll
69         </Limit>
70
71 #       <Directory /home/ftp/pub/Incoming>
72 #               <Limit READ>
73 #                       DenyAll
74 #               </Limit>
75 #               <Limit WRITE>
76 #                       AllowAll
77 #               </Limit>
78 #               <Limit STOR>
79 #                       AllowAll
80 #               </Limit>
81 #       </Directory>
82 </Anonymous>
This page took 0.038518 seconds and 4 git commands to generate.