]> git.pld-linux.org Git - packages/proftpd.git/blame - proftpd.conf
- use IP address, for some reason mod_clamav has problems resolving hostnames
[packages/proftpd.git] / proftpd.conf
CommitLineData
ba022455 1# $Id$
f7fbb132 2
16fa16e8
TP
3ServerName "ProFTPD"
4ServerType standalone
bfc20154
ER
5DeferWelcome off
6DefaultServer on
2aa9b220
TP
7#IdentLookups off
8#UseReverseDNS off
f7fbb132 9
765ae1a2
JR
10# If you want .message files to work with browsers, you probably
11# want to uncomment the next line
bfc20154 12#MultilineRFC2228 on
765ae1a2 13
f7fbb132 14# Port 21 is the standard FTP port.
16fa16e8 15Port 21
f7fbb132 16# Umask 022 is a good standard umask to prevent new dirs and files
17# from being group and world writable.
16fa16e8 18Umask 022
f7fbb132 19
20# Set the user and group that the server normally runs at.
16fa16e8
TP
21User ftp
22Group ftp
f7fbb132 23
2aa9b220
TP
24#RequireValidShell off
25
f8cc83f1 26# use separate auth files instead of system auth
16fa16e8
TP
27#AuthUserFile /etc/ftpd/passwd
28#AuthGroupFile /etc/ftpd/group
c9d0f942 29
f7fbb132 30# Normally, we want files to be overwriteable.
31<Directory />
16fa16e8 32 AllowOverwrite on
f7fbb132 33</Directory>
34
bfc20154 35# lock users to their homedir
16fa16e8 36DefaultRoot ~
bfc20154
ER
37
38# allow resume uploads and downloads
16fa16e8
TP
39AllowRetrieveRestart on
40AllowStoreRestart on
bfc20154
ER
41
42# enable this to have your ftp server FXP gateway.
43# only enable this if you trust your users as it allows your ftp server to connect anywhere.
44# DO NOT enable this if you have anonymous logins enabled!
16fa16e8 45#AllowForeignAddress on
bfc20154
ER
46
47# NAT support
48# http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-NAT.html
16fa16e8
TP
49#MasqueradeAddress my.domain.com
50#PassivePorts 60000 65535
bfc20154 51
2aa9b220
TP
52#UseIPv6 off
53
bfc20154
ER
54# Do not announce server software at logon. for paranoids.
55#ServerIdent off
56
57# To prevent DoS attacks, set the maximum number of child processes
58# to 30. If you need to allow more than 30 concurrent connections
59# at once, simply increase this value. Note that this ONLY works
60# in standalone mode, in inetd mode you should use an inetd server
61# that allows you to limit maximum number of processes per service
62# (such as xinetd).
63MaxInstances 30
64
65# Idle
66TimeoutLogin 300
67TimeoutNoTransfer 300
68
ba022455 69# Load additional (modules) config
f8cc83f1 70Include /etc/ftpd/conf.d/*.conf
This page took 0.043284 seconds and 4 git commands to generate.