Hello,
I have set OpenWrt ver-21 on TP-LINK archer c7 ver 5.
I'm using FTP client (PC connected to LAN side) that is connected to the FTP server (WAN side of router).
If I use PASSIVE FTP mode, I can connect, download, upload, list content. Everything works. Passive FTP transfers data in such way that FTP client (LAN side) is connecting to FTP server (WAN side).
https://www.jscape.com/blog/bid/80512/active-v-s-passive-ftp-simplified
If I use ACTIVE FTP mode, I can connect. The log file goes to the line where the PORT command is used to specify IP-address,port opened on CLIENT to receive data. Server side always uses port 20 to upload/download data to/from the client. While the client always specifies different port for data transfer. This is presumably stopped by OpenWrt firewall.
I have struggled with firewall in LUCI/OpenWRT but can't get this active FTP to work.
Please help,
Branko FERK