FTP not working. NAT rules setup like I did with other ports except using port 21 and it's not working.
-
@JLundberg said in FTP not working. NAT rules setup like I did with other ports except using port 21 and it's not working.:
So I need to open explicitly open both or just 20 and leave my FTP NAT
Port 20 never needs to be forwarded, it will only ever be a source port in an active session..
To correctly setup ftp behind a nat firewall, you need to understand how it works to be honest.
Here is a great write up..
https://slacksite.com/other/ftp.html -
Hello!
FTP without the dynamic port forwarding was too much of a burden. I converted everything (Win servers, NAS, webops, clients, scripts, etc...) over to sftp. Security beyond basic src ip restrictions was never a concern for these particular ftp transfers, but the move to sftp was definitely on the todo list and the upgrades from sonicwalls -> netgates were the catalyst.
John