www.ProFTPD.de

ProFTPD => ProFTPD - Deutsch => Thema gestartet von: ikke am 20. Juni 2004, 13:10:06



Titel: Router + Passive Mode
Beitrag von: ikke am 20. Juni 2004, 13:10:06
Hallo.
Ich hab auf meinem Mandrake 10 System mal den Proftpd installiert.
Port: 123
PassivePorts: 4000 bis 4005

Diese Ports hab ich auch im Router geforwarded.....
Trotzdem kann man von außerhalb des Netzwerkes(also Internet) keine passive-mode Verbindung herstellen.

Kann mir da vielleicht jemand helfen?(Im forum hab ich leider noch nichts dazu gefunden)


Titel: Router + Passive Mode
Beitrag von: Anonymous am 20. Juni 2004, 14:02:13
Hiho,

Sind die Ports 20 und 21 auch auf den FTP Server geforwarded ? Hast du in deiner proftpd.conf eine MasqueradeAddress angegeben ?


Titel: Router + Passive Mode
Beitrag von: Anonymous am 20. Juni 2004, 18:47:04
wozu port 20 und 21?????


Titel: Router + Passive Mode
Beitrag von: Anonymous am 20. Juni 2004, 18:50:27
hier ma meine config(hab ich mit webmin erstellt)
Zitat

# 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 Default Installation"
ServerType standalone
DefaultServer         on

# Allow FTP resuming.
# Remember to set to off if you have an incoming ftp for upload.
AllowStoreRestart      on

# Port 21 is the standard FTP port.
Port            123

# 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 30

# 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 ~

# Normally, we want files to be overwriteable.
<Directory />
  AllowOverwrite      on
</Directory>

# Needed for NIS.

PersistentPasswd              off

# Default root can be used to put users in a chroot environment.
# As an example if you have a user foo and you want to put foo in /home/foo
# chroot environment you would do this:
#
# DefaultRoot /home/foo foo
<Global>
PassivePorts 4000 4005
LoginPasswordPrompt off
AccessGrantMsg "Du bist drin!"
AllowOverwrite on
RootLogin off
<Directory /home/ftpuser>
AllowAll
</Directory>
DefaultRoot ~
AllowForeignAddress on
</Global>
UseReverseDNS on


Titel: Router + Passive Mode
Beitrag von: stonki am 20. Juni 2004, 20:05:21
In dem Fall Port 123 und port 122 fuer aktiven Transfer (123 wird als Controllport immer benutzt)

cu
stonki


Titel: Router + Passive Mode
Beitrag von: Anonymous am 20. Juni 2004, 22:31:31
JUUUUUUUUUHHUUUUUUUUUUUUUUUUU.
Es geht :-)

Ich hab jez port 122 auch noch forgewardet. Dann hab ich mich beim no-ip dienst angemeldet und die no-ip adresse als MasqueradeAdress(oder wie man dat schreibt) eingetragen. jez gehts :D