Control Web Panel

WebPanel => FTP => Topic started by: skylide on June 23, 2020, 11:54:11 AM

Title: Ftp doesn't work with firewall
Post by: 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?


Code: [Select]
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
Title: Re: Ftp doesn't work with firewall
Post by: cinique on June 23, 2020, 06:55:08 PM
If you read the CSF readme file, it tells you what you need to do.
Title: Re: Ftp doesn't work with firewall
Post by: skylide on June 23, 2020, 09:32:02 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?
Title: Re: Ftp doesn't work with firewall
Post by: skylide on June 28, 2020, 09:51:38 PM
no idea but its doesn't solve the firewall problem for ftp. you have an idea ?
Title: Re: Ftp doesn't work with firewall
Post by: cinique on June 29, 2020, 09:57:09 AM
There is no problem with the software, it is the implementer.
Title: Re: Ftp doesn't work with firewall
Post by: Alnork on July 11, 2020, 01:13:54 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?


Code: [Select]
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
Title: Re: Ftp doesn't work with firewall
Post by: zondar on July 28, 2020, 08:37:55 AM
Alnork, thank. It helped me. Firewall did not allow FTP access for address 0.0.0.0/0