Guten Tag,
Wo soll ich anfangen. Ich verzweifle derzeit am einrichten eines FTP-Servers auf meinem Raspberry.
Ich habe gestern angefangen einen Apache Webserver zu installieren. Über No-Ip und Freigabe vom 80er läuft dieser auch größtenteils problemlos.
Dann habe ich begonnen einen FTP-Server( proftpd ) zu installieren (Config Files im Anhang) auch ein SSL Zertifikat habe ich erstellt.
Als ich nun versucht habe mich mit FileZilla zu verbinden bekam ich eine Fehlermeldung, jedoch funktioniert es wenn ich den Übertragungsmodus auf aktiv ändere. Auf Standard und Passiv funktioniert das ganze leider nicht.
FileZilla (Übertragungsmodus Standard, Passiv)
Status: Auflösen der IP-Adresse für berndstelzl.ddns.net
Status: Verbinde mit 91.114.149.150:21...
Status: Verbindung hergestellt, warte auf Willkommensnachricht...
Status: Initialisiere TLS...
Status: Überprüfe Zertifikat...
Status: TLS-Verbindung hergestellt.
Status: Angemeldet
Status: Empfange Verzeichnisinhalt...
Befehl: PWD
Antwort: 257 "/" is the current directory
Befehl: TYPE I
Antwort: 200 Type set to I
Befehl: PASV
Antwort: 227 Entering Passive Mode (91,114,149,150,234,137).
Befehl: MLSD
Fehler: GnuTLS-Fehler -15: An unexpected TLS packet was received.
Fehler: Übertragungsverbindung unterbrochen: ECONNABORTED - Verbindung abgebrochen
Alles anzeigen
FTP-Config:
GNU nano 2.2.6 Datei: /etc/proftpd/proftpd.conf
#
# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes, reload proftpd after modifications, if
# it runs in daemon mode. It is not required in inetd/xinetd mode.
#
# Includes DSO modules
Include /etc/proftpd/modules.conf
# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
UseIPv6 off
# If set on you can experience a longer connection delay in many cases.
IdentLookups off
ServerName "RPi-FTP"
ServerType standalone
DeferWelcome off
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayChdir .message true
ListOptions "-l"
DenyFilter \*.*/
# Use this to jail all users in their homes
# DefaultRoot ~
# Users require a valid shell listed in /etc/shells to login.
# Use this directive to release that constrain.
# RequireValidShell off
# Port 21 is the standard FTP port.
Port 21
# In some cases you have to specify passive ports range to by-pass
# firewall limitations. Ephemeral ports can be used for that, but
# feel free to use a more narrow range.
PassivePorts 49152 65534
# If your host was NATted, this option is useful in order to
# allow passive tranfers to work. You have to use your public
# address and opening the passive ports used on your firewall as well.
MasqueradeAddress berndstelzl.ddns.net
# This is useful for masquerading address with dynamic IPs:
# refresh any configured MasqueradeAddress directives every 8 hours
<IfModule mod_dynmasq.c>
# DynMasqRefresh 28800
</IfModule>
Alles anzeigen
TLS-CONFIG ( /etc/proftpd/conf.d/tls-custom.conf)
# Ftp user doesn't need a valid shell
<Global>
RequireValidShell off
</Global>
# Default directory is ftpusers home
DefaultRoot ~ ftpuser
# Limit login to the ftpuser group
<Limit LOGIN>
DenyGroup !ftpuser
</Limit>
<IfModule mod_tls.c>
TLSEngine on
TLSLog /var/log/proftpd/tls.log
TLSProtocol TLSv1
TLSRSACertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
TLSRSACertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
TLSVerifyClient off
TLSRequired on
</IfModule>
Alles anzeigen
Falls noch andere Dateien gebraucht werden schreibt mir einfach.
Ich bedanke schon einmal für jegliche Hilfe und entschuldige mich dafür, dass meine Linux Skills eher Richtung 0 gehen.
MfG