I have completed the setup of the FTP on TrueNas Scale.
If I try to connect from my PC to the TrueNas FTP using the local IP “192.168.2.10,” then it connects normally and everything works. https://prnt.sc/K2U1yem2jH84
If I try to connect with my public IP xxx.xxx.xxx.xxx:4444 with the same settings in the FTP client, then I get this message. https://prnt.sc/VifTWST1ukZM
When using ftp you may consider learning about how ftp works, and how to use it properly.
It open up port’s that not being open.
Try to enable/disable PASV(Passive mode), first in you client app.
Then you can see in this picture how the traffic goes
I have attached the file. I hope I did it correctly.
Below, I am writing to you in detail about my efforts regarding the port and the firewall rules.
/ip firewall nat add chain=dstnat protocol=tcp dst-address=PUBLIC_IP dst-port=21 action=dst-nat to-address=FTPSERVERIP to-port=21 comment=“FTP Server Port Forwarding”
My suggestion is not to use ftp, make i vpn server on the router, and make a vpn connection into your network.
It more secure and more newer and trendier.
And only open up one port to the router.
Thanks for your answer,
I found a hosting provider that allows me to install Vpn.
(I want to backup my cpanel to my local server)
I will always follow your advice.