]> TLD Linux GIT Repositories - packages/proftpd.git/blob - proftpd.conf
- updated to 1.3.7f
[packages/proftpd.git] / proftpd.conf
1 # Set the mode proftpd runs in
2 ServerType              standalone
3
4 # Set the message displayed on connect
5 ServerIdent             on "FTP server ready"
6
7 # Sets the maximum number of child processes to be spawned
8 MaxInstances            30
9
10 # Make this configuration default one
11 DefaultServer           on
12
13 # Bind to specified IP addresses
14 SocketBindTight         off
15
16 # Set the port proftpd will listen on
17 Port                    21
18
19 # Apply global configuration directives
20 <Global>
21         # Set the user the daemon will run as
22         User                    ftp
23
24         # Set the group the server normally runs as
25         Group                   ftp
26
27         # Set the default umask
28         Umask                   022
29
30         # Don't show welcome message until user has authenticated
31         DeferWelcome            off
32
33         # Allow connections based on /etc/shells
34         RequireValidShell       on
35
36         # Allow clients to resume downloads
37         AllowRetrieveRestart    on
38
39         # Allow clients to resume uploads
40         AllowStoreRestart       on
41
42         # Enable files to be overwritten
43         AllowOverwrite          on
44
45         # Sets how many password attempts are allowed before disconnection
46         MaxLoginAttempts        3
47
48         # Specify alternate passwd/group files to be used
49         #AuthUserFile           /etc/proftpd/passwd
50         #AuthGroupFile          /etc/proftpd/group
51
52         # Set the default method of data transfer
53         DefaultTransferMode     binary
54
55         # Specify the ftp-data port range to be used
56         PassivePorts            57000 60000
57
58         # Sets the idle connection timeout
59         TimeoutIdle             300
60
61         # Sets the login timeout
62         TimeoutLogin            120
63
64         # Sets the timeout on stalled data transfers
65         TimeoutStalled          300
66
67         # Sets the connection without transfer timeout
68         TimeoutNoTransfer       300
69
70         # Configure options used when listing directories
71         ListOptions             "-a"
72
73         # Lock users in their home directory
74         DefaultRoot             ~
75
76         # Specify proftpd logfile
77         ExtendedLog             /var/log/proftpd/ftp.log
78
79         # Specify transfer log
80         TransferLog             /var/log/proftpd/xfer.log
81 </Global>
82
83 # Load additional config files (modules etc.)
84 Include /etc/proftpd/conf.d/*.conf