Active mode FTP data transfers fail with "425 Failed to establish a connection"
Issue
- All active mode FTP connections fail with a
425 Failed to establish a connection
error:
ftp> ls
200 PORT command successful. Consider using PASV.
425 Failed to establish connection.
Environment
- Red Hat Enterprise Linux 7 and later
- firewalld firewall
- FTP Client using Active Mode (
PORT
command, and Active FTP data connection from server to client)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.