Hi,
I just installed vsftpd on Debian 11 server. I am able to connect to it; however, when I attempt to issue commands such as ls, dir, get or put I get the error below:
Code:
500 Illegal PORT command.
ftp: bind: Address already in use
I am using UFW and I opened ports 21 and 20:
Code:
21/tcp ALLOW Anywhere
20/tcp ALLOW Anywhere
See setting below in vsftpd.conf:
Code:
connect_from_port_20=YES
When I installed ufw, i ran the commands below:
Code:
ufw default deny incoming
ufw default allow outgoing
When I disable the firewall, FTP works as expected.
Please assist
Thank you!