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