Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Problems configuring FTP proxy for FTP active mode
« previous
next »
Print
Pages: [
1
]
Author
Topic: Problems configuring FTP proxy for FTP active mode (Read 2371 times)
alsoeric
Newbie
Posts: 23
Karma: 0
Problems configuring FTP proxy for FTP active mode
«
on:
November 25, 2020, 06:26:41 pm »
I've been able to make the FTP reverse proxy work for passive mode. The default settings for Filezilla work fine. If I force active mode, then I can't list the directory. something is keeping the Filezilla log below. I also attached screen shots for the NAT and Rules added for the proxy.
Status: Disconnected from server
Status: Connecting to xxxx:21...
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 "/"
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PORT 192,168,21,104,82,59
Response: 200 PORT command successful. Consider using PASV.
Command: LIST
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
Status: Disconnected from server
Status: Connecting to xxxx:21...
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 "/"
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PORT 192,168,21,104,82,72
Response: 200 PORT command successful. Consider using PASV.
Command: LIST
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
Proxy log shows many entries
2020-11-25T16:41:31 ftp-proxy[84028] #290 client reset connection
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: Problems configuring FTP proxy for FTP active mode
«
Reply #1 on:
November 25, 2020, 07:59:45 pm »
Quote
PORT 192,168,21,104,82,72
and how is the server supposed to connect to the client at a private address?
Logged
alsoeric
Newbie
Posts: 23
Karma: 0
Re: Problems configuring FTP proxy for FTP active mode
«
Reply #2 on:
November 25, 2020, 09:21:36 pm »
interesting. there is a missing NAT on the reply. better go back through the docs.
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: Problems configuring FTP proxy for FTP active mode
«
Reply #3 on:
November 26, 2020, 10:39:23 am »
its not only about nat. its about ftp also. how secondary connection opens in active and passive modes and how it works with nat
Quote
better go back through the docs
yep )
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Problems configuring FTP proxy for FTP active mode