]> TLD Linux GIT Repositories - packages/proftpd.git/blob - proftpd.conf
- better TLS/SSL config, misc config cleanup
[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                   nobody
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         # Toggle ident lookups
34         IdentLookups            off
35
36         # Toggle rDNS lookups
37         UseReverseDNS           on
38
39         # Allow connections based on /etc/shells
40         RequireValidShell       on
41
42         # Allow clients to resume downloads
43         AllowRetrieveRestart    on
44
45         # Allow clients to resume uploads
46         AllowStoreRestart       on
47
48         # Enable files to be overwritten
49         AllowOverwrite          on
50
51         # Sets how many password attempts are allowed before disconnection
52         MaxLoginAttempts        3
53
54         # Specify alternate passwd/group files to be used
55         #AuthUserFile           /etc/ftpd/passwd
56         #AuthGroupFile          /etc/ftpd/group
57
58         # Set the default method of data transfer
59         DefaultTransferMode     binary
60
61         # Specify the ftp-data port range to be used
62         PassivePorts            57000 60000
63
64         # Sets the idle connection timeout
65         TimeoutIdle             300
66
67         # Sets the login timeout
68         TimeoutLogin            120
69
70         # Sets the timeout on stalled data transfers
71         TimeoutStalled          300
72
73         # Sets the connection without transfer timeout
74         TimeoutNoTransfer       300
75
76         # Configure options used when listing directories
77         ListOptions             "-a"
78
79         # Lock users in their home directory
80         DefaultRoot             ~
81
82         # Specify proftpd logfile
83         ExtendedLog             /var/log/ftp.log
84
85         # Specify transfer log
86         TransferLog             /var/log/ftp.xfer.log
87 </Global>
88
89 # Load additional config files (modules etc.)
90 Include /etc/ftpd/conf.d/*.conf