New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Ftp doesn't work with firewall

Started by skylide, June 23, 2020, 11:54:11 AM

Previous topic - Next topic

skylide

Hello, I have a problem with ftp. When the firewall is deactivated, the ftp works very well. But when the firewall is activated, you can connect to the ftp but it does not display the files. Do you have an idea of the problem and do you have a solution?


Statut : Résolution de l'adresse de arnaud-dupont.tech
Statut : Connexion à 149.91.91.81:21...
Statut : Connexion établie, attente du message d'accueil...
Statut : Initialisation de TLS...
Statut : Vérification du certificat...
Statut : Connexion TLS établie.
Statut : Connecté
Statut : Récupération du contenu du dossier...
Commande : PWD
Réponse : 257 "/" is your current location
Commande : TYPE I
Réponse : 200 TYPE is now 8-bit binary
Commande : PASV
Réponse : 227 Entering Passive Mode (149,91,91,81,74,73)
Commande : MLSD
Erreur : Connection interrompue après 20 secondes d'inactivité
Erreur : Impossible de récupérer le contenu du dossier
Statut : Déconnecté du serveur


cinique

If you read the CSF readme file, it tells you what you need to do.

skylide

Quote from: cynique on June 23, 2020, 06:55:08 PM
If you read the CSF readme file, it tells you what you need to do.


can you explain to me how to do it?

skylide

no idea but its doesn't solve the firewall problem for ftp. you have an idea ?

cinique

There is no problem with the software, it is the implementer.

Alnork

Quote from: skylide on June 23, 2020, 11:54:11 AM
Hello, I have a problem with ftp. When the firewall is deactivated, the ftp works very well. But when the firewall is activated, you can connect to the ftp but it does not display the files. Do you have an idea of the problem and do you have a solution?


Statut : Résolution de l'adresse de arnaud-dupont.tech
Statut : Connexion à 149.91.91.81:21...
Statut : Connexion établie, attente du message d'accueil...
Statut : Initialisation de TLS...
Statut : Vérification du certificat...
Statut : Connexion TLS établie.
Statut : Connecté
Statut : Récupération du contenu du dossier...
Commande : PWD
Réponse : 257 "/" is your current location
Commande : TYPE I
Réponse : 200 TYPE is now 8-bit binary
Commande : PASV
Réponse : 227 Entering Passive Mode (149,91,91,81,74,73)
Commande : MLSD
Erreur : Connection interrompue après 20 secondes d'inactivité
Erreur : Impossible de récupérer le contenu du dossier
Statut : Déconnecté du serveur


Hi,

try this:
http://wiki.centos-webpanel.com/pure-ftpd-setup-passive-ftp-ports

zondar

Alnork, thank. It helped me. Firewall did not allow FTP access for address 0.0.0.0/0