Hallo!
Ich hab eine ziemlich tiefgreifende Problematik. Vielleicht kann mir jemand helfen, das zu lösen.
Zu PassivePorts habe ich das hier gefunden:
http://www.proftpd.org/docs/directives/linked/config_ref_PassivePorts.html
Meine Firewall ist im Router. Dort wird nur port21 auf die lokale IP weitergeleitet.
In der SuSE Firewall2 ist auch nur port21 offen.
Welche Ports muss ich denn noch öffnen? In der Regel existiert nur ein User dem es gestattet ist den FTP zu nutzen.
Wie muss ich diese Portdirektive in der Config eintragen?
Ich hab denke ich schon herausgelesen, dass ich auf jeden Fall port:
20 und 21 brauche? In der Config vom ProFTP steht aber bisher nur eine direktive für port21
Die Fragen konkret, weil ich nicht weiter weiss:
Welche Ports muss ich in meiner RouterFirewall öffnen? Reicht 21?
Wie mache ich diese in der SuSE Firewall2 auf?
Wo muss ich diese in der Config wie eintragen?
Es wird bei einem erlaubtem User bleiben.
Vielen Dank für Hilfe im Vorraus!!
Grüße,
R
Ich hab eine ziemlich tiefgreifende Problematik. Vielleicht kann mir jemand helfen, das zu lösen.
Code:
Also ich habe ProFTP eingerichtet. Im log tauchte bei einem Test von außen das hier auf:
Jul 27 12:36:20 wild-thing proftpd[22475] wild-thing.domain.name.tld (Adresse[vom.tester.
der.half]): Check your PassivePorts and MasqueradeAddress settings,
http://www.proftpd.org/docs/directives/linked/config_ref_PassivePorts.html
Meine Firewall ist im Router. Dort wird nur port21 auf die lokale IP weitergeleitet.
In der SuSE Firewall2 ist auch nur port21 offen.
Welche Ports muss ich denn noch öffnen? In der Regel existiert nur ein User dem es gestattet ist den FTP zu nutzen.
Wie muss ich diese Portdirektive in der Config eintragen?
Ich hab denke ich schon herausgelesen, dass ich auf jeden Fall port:
20 und 21 brauche? In der Config vom ProFTP steht aber bisher nur eine direktive für port21
Code:
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "ProFTPD on WILD-THING"
ServerType inetd
DefaultServer on
MasqueradeAddress wild-thing.domain.name.tld
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 15
# Set the user and group under which the server will run.
User nobody
Group nogroup
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot /srv/ftp/wild-thing.domain.name.tld/ftp/
# Normally, we want files to be overwriteable.
AllowOverwrite on
<Global>
DeferWelcome on
ServerIdent on "welcome to: ftp://wild-thing.domain.name.tld !!!"
RootLogin off
UseFtpUsers on
DefaultRoot /srv/ftp/wild-thing.domain.name.tld/ftp/
DeleteAbortedStores on
HiddenStores on
ShowSymlinks off
AccessDenyMsg NO!
AccessGrantMsg JO!
AllowOverwrite off
LoginPasswordPrompt on
MaxLoginAttempts 15
UserAlias ftpgast ftpuser
DefaultChdir wild-thing.domain.name.tld/ftp/
AllowStoreRestart off
TransferLog /var/log/rcproftpd.log
ExtendedLog /var/log/rcproftpd.log
UserPassword ftpuser PASSWORT
</Global>
SystemLog /var/log/rcproftpd.log
PidFile /var/run/proftpd.pid
Die Fragen konkret, weil ich nicht weiter weiss:
Welche Ports muss ich in meiner RouterFirewall öffnen? Reicht 21?
Wie mache ich diese in der SuSE Firewall2 auf?
Wo muss ich diese in der Config wie eintragen?
Es wird bei einem erlaubtem User bleiben.
Vielen Dank für Hilfe im Vorraus!!
Grüße,
R