ProFTP Problème accès

Fermé
Julien - 2 avril 2005 à 11:18
lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019 - 9 avril 2005 à 23:53
Voici mon problème.

J'ai fait un proftpd.conf ou je veux que sur le port 21 seulement des utilisateurs authentifiés peuvent ce connecté, et sur le port 5021 que l'accès anonyme soit activé (mais pas sur le 21)

Voila mon .conf, et ça fonctionne pas, je comprend pas du tout pourquoi :(
Merci pour votre aide.

# Configuration qui devrai fonctionner
# Serveur Principale (Uniquement utilisateurs authentifiés)


ServerName "ProFTPD server"
Port 21
ServerIdent on "FTP Server ready."
ServerType standalone
DefaultServer on
DefaultRoot /home/upload/


User nobody
Group nobody

<global>
AccessGrantMsg "User %u logged in."
IdentLookups off
UseReverseDNS off
Umask 022
ListOptions "-a"
MaxLoginAttempts 3
MaxClientsPerHost 1
AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on
MaxInstances 30
</global>

<Virtualhost xxx.xxx.xxx.xxx>
ServerName "Accès FTP (Mode Anonyme)
Port 5021

<Anonymous /home/upload/anonyme/>
User ftp
Group ftp
AccessGrantMsg "Anonymous login ok, restrictions apply."
UserAlias anonymous ftp
</Anonymous>
</VirtualHost>

2 réponses

Oupss, c'était pas le bon .conf

Désolé :X

Voici le bon :

ServerName "ProFTPD server"
Port 21
ServerIdent on "FTP Server ready."
ServerType standalone
DefaultServer on
DefaultRoot /home/upload/
UseReverseDNS off
MaxInstances 30

User nobody
Group nobody

<global>
AccessGrantMsg "User %u logged in."
IdentLookups off
Umask 022
ListOptions "-a"
MaxLoginAttempts 3
MaxClientsPerHost 1
AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on

</global>

<Virtualhost xxx.xxx.xxx.xxx>
ServerName "Accès FTP (Mode Anonyme)"
Port 5021

<Anonymous /home/upload/anonyme/>
User ftp
Group ftp
AccessGrantMsg "Anonymous login ok, restrictions apply."
UserAlias anonymous ftp
</Anonymous>
</VirtualHost>
0
lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019 3 567
9 avril 2005 à 23:53
Salut,

Je crois qu'ici tu trouveras reponse à ton problème

http://lea-linux.org/reseau/proftpd.html

Bonne lecture et bonne configuration.

A+
0