ich bekomm irgendwie den ProFtpd nicht zum laufen. Hab dutzende seiten durchforstet und auch standart configs ausprobiert
aber irgendwie bekomm ichs nicht gebacken.
Meine momentane Config sieht wie folgt aus:
Code: Alles auswählen
ServerType standalone
PidFile /var/run/proftpd.pid
MaxInstances 30
MaxConnectionRate 4
SocketBindTight off
UseReverseDNS off
AuthPAM off
AuthGroupFile /etc/proftpd/ftpd.group
RootRevoke on
DefaultServer on
MultilineRFC2228 on
<IfModule mod_delay.c>
DelayEngine off
DelayTable /var/run/proftpd/proftpd.delay
</IfModule>
<IfModule mod_tls.c>
TLSProtocol SSLv23
</IfModule>
# Log-Formate definieren
SystemLog NONE
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"
# --------------------------------------------
# globale Settings
# --------------------------------------------
<Global>
User nobody
Group nogroup
# --------------------------------------------
# Login
# --------------------------------------------
ServerIdent on "FTP server ready."
DeferWelcome on
DisplayConnect /etc/proftpd.msg
IdentLookups off
UseFtpUsers off
RequireValidShell off
TimeoutLogin 60
MaxLoginAttempts 3
MaxClientsPerHost 3
# --------------------------------------------
# TLS Standards
# --------------------------------------------
<IfModule mod_tls.c>
TLSEngine off
TLSTimeoutHandshake 60
TLSRequired off
TLSVerifyClient off
TLSOptions NoCertRequest
TLSLog /var/log/proftpd/tls.log
</IfModule>
# --------------------------------------------
# Post-Login, Timeouts
# --------------------------------------------
PassivePorts 49152 65534
DisplayLogin welcome.msg
DisplayFirstChdir .message
AllowOverride off
TimeoutIdle 600 # Inaktivitaet
TimeoutNoTransfer 3600 # keine Datenuebertragung (Listing, File, ...)
TimeoutStalled 300 # haengende Datenuebertragung
TimeoutSession 7200 # Gesamtdauer einer Session
# --------------------------------------------
# Session
# --------------------------------------------
DefaultRoot ~
DenyFilter \*.*/
ListOptions "-An +R" strict
UseGlobbing off
ShowSymlinks on
TimesGMT on
# --------------------------------------------
# Up- & Download
# --------------------------------------------
AllowOverwrite on
AllowRetrieveRestart on
HiddenStores on
DeleteAbortedStores on
AllowStoreRestart off
# --------------------------------------------
# Datei & Verzeichnis
# --------------------------------------------
Umask 0017 0007
### hierher alle <Directory>-Bloecke
# --------------------------------------------
# Anonymous FTP
# --------------------------------------------
# <Anonymous /home/ftp>
# User ftp
# Group ftpuser
# UserAlias anonymous ftp
#
# MaxClients 5
# --------------------------------------------
# Logging
# --------------------------------------------
WtmpLog off
TransferLog /var/log/proftpd/xferlog
# Record all logins
ExtendedLog /var/log/proftpd/auth.log AUTH auth
# Logging file/dir access
ExtendedLog /var/log/proftpd/access.log WRITE,READ write
# Paranoia logging level....
ExtendedLog /var/log/proftpd/paranoid.log ALL default
# fuer Debug: alle modMySQL Kommentare (Datenmenge immens!)
#SQLLogFile /var/log/proftpd/sql.log
</Global>
# --------------------------------------------
# Standard-Server
# --------------------------------------------
DefaultAddress 192.168.1.100
ServerName hc-fpt
ServerAdmin hc.home.server@gmail.com
MasqueradeAddress hc-home.dlinkddns.com
<IfModule mod_tls.c>
TLSEngine on
TLSRSACertificateFile /etc/ssl/certs/meinserver.tld.cert
TLSRSACertificateKeyFile /etc/ssl/certs/meinserver.tld.key
</IfModule>
Code: Alles auswählen
cd /etc/proftpd
ftpasswd --passwd --name web --uid 9999 --home /var/www --shell /bin/false
Code: Alles auswählen
ftpasswd --group --name ftpuser -gid 9999
Code: Alles auswählen
ftpasswd --group --member web --name ftpuser --gid 9999
Die Config is ne (nur leicht) angepasste Standartconfig und das anlegen virtueller User hab ich nach HowTo gemacht.
Gruß
Hardi