FTP proxy issue

Started by darkmattersaturnfox, June 10, 2020, 04:06:24 PM

Previous topic - Next topic
June 10, 2020, 04:06:24 PM Last Edit: June 10, 2020, 04:14:03 PM by darkmattersaturnfox
Hi,

First I'm not sure this is the good section to post if not, moderators feel free to move my topic.

My network configuration is :
LAN network -> OPNSense  -> WAN network -> Firewall -> Internet

OPNsense is used for web proxy and now ftp proxy.
On the LAN network I have one Windows Server with FileZilla client, with the FTP proxy configured for the IP of OPNsense.

I'm facing a problem with my FTP proxy configuration on OPN, I followed the How-To made by faunsen in 2016 (using the os-ftp-proxy plugin).
For the configuration of the FTP proxy service I left everything to default (listening on 127.0.0.0:8021).

In Firewall->NAT->Port Forward I made this rule :
https://imgur.com/Q72EMKq

In Firewall->Rules->LAN :
https://imgur.com/lh04kAL

When I try to reach a FTP server from my client the connection is established but waiting for a welcome message and then time-out.

The web proxy is working well so I think I misconfigured the FTP proxy but I don't find where...
And here is the log of the firewall (where opn is the IP of my OPNsense and myserver the IP of my server with FileZilla client) :
lan      Jun 10 15:58:45   myserver:62281   127.0.0.1:8021   tcp
lo0      Jun 10 15:58:45   opn:44305   opn:21   tcp   let out anything from firewall host itself   
lo0      Jun 10 15:58:45   opn:44305   opn:21   tcp   pass loopback   


If you have any advice please answer me.
Thank you!