Hello
I have a problem with ftp-proxy.
The rules in pf are set as standard:
When I try to connect with server via Filezilla, I have this message:
And in my logs I have something like this:
I am asking for advice because I do not know where to look for the problem. Exactly the same configuration on the other router works fine. The system is FBSD 12.2-STABLE
I have a problem with ftp-proxy.
The rules in pf are set as standard:
Code:
nat-anchor "ftp-proxy / *"
rdr-anchor "ftp-proxy / *"
rdr pass proto tcp from any to any port ftp -> 127.0.0.1 port 8021
anchor "ftp-proxy / *"
pass out quick proto tcp from any to any port ftp keep state
Code:
Status: Connection established, waiting for welcome message ...
Status: Plain FTP is insecure. Please switch to FTP over TLS.
Status: Logged in
Status: Retrieving directory listing ...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Error: Connection closed by server
Error: Failed to retrieve directory listing
Code:
Jun 9 10:55:27 RUTER ftp-proxy [1145]: # 5 pf operation failed: Invalid argument
Jun 9 10:55:27 RUTER ftp-proxy [1145]: # 6 pf operation failed: Invalid argument