bonjour
Voilà depuis quelque jours je me suis mis à l'installation d'un serveur FTP, à savoir le proftpd. Bon je me suis aidé par le tuto present sur ce site entre autre. Là, le serveur marche nikel, mais seulement depuis ma machine (Mandriva 2006), càd, la machine qui l'heberge (en tappant [
192.168.1.2] pour un acces anonyme et [
192.168.1.2] pour l'acces en tant sur "utilisateur")
quand je tente une connexion FTP sur mon serveur depuis mon deuxieme PC (sous Vista), lui même relié au même routeur/modem (Club internet) par une connexion WiFi, celà ne fonctionne pas. Pourtant, je pensais que le fait d'autoriser l'acces anonymous sur mon serveur serai suffisant !! En fait, je tappe sur un navigateur [
192.168.1.2] mais ça prend du temps et à la fin ça me dit, impossible de trouver le serveur...sur une console, la même commande me donne : connexion refusée
Je suis connecté au net à travers un routeur CI (NEUF à present). et j'ai ouvert le port 21 de ce dernier (en allant sur le menu NAT de la page admin).
Mon but essentiel est de rendre ce serveur accessible via le net en download pour n'importe quelle personne desirant se connecter et en download+ upload seuelement pour moi!!
Pourriez vous me venir en aide SVPPP!
Voici mon proftpd.conf:
# 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 "Mon-Serveur"
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 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 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.
AllowOverwrite on
# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
DenyAll
</Limit>
# 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/fares fares
#pour un trabsfert de fichier en mode passif
#PassivePorts 5000 5100
# ip public du serveur
#MasqueradeAddress XXX.XXX.XXX.XXX
# A basic anonymous configuration, no upload directories.
<Anonymous ~ftp>
User ftp
Group nogroup
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Cosmetic changes, all files belongs to ftp user
DirFakeUser on ftp
DirFakeGroup on ftp
RequireValidShell off
# Limit the maximum number of anonymous logins
MaxClients 10
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Directory *>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
</Anonymous>
Poste le Sunday 26 October 2008 14:23:16