Hi list, I’ve a problem with vsftpd on C7.3. This is a dedicated server protected by a Zywall5. SELINUX is disabled.
This is my vsftpd configuration:
Connecting from localhost to the local ip with ftp command, I’ve no problems. If I try to connect from remote host to the ftp server I got some problems.
Connecting from my workstation I can log in with user and pwd but when listing I get:
230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls
227 Entering Passive Mode (188,213,172,158,206,207)
ftp: connect: Connection refused ftp>
Seems to be a firewall (zywall5) problem. On server firewalld is disabled and there are not iptables rules.
So I’ve open port 20,21,50000:50100 from my ip to server ip. The problem persists.
I’ve tried to open all ports (Using Any TCP and Any UDP) but the problem persists.
I’ve tried with another local server with the same vsftpd configuration and I’ve reproduced the problem by closing all ports with iptables. I
get the same messages but after enabling specified ports with iptables on server the issue is solved.
How I can solve this issue on remote server?
THanks in advance.