UFW rejecting FTP connections to ProFTPd
To strenghten security I want to enable UFW (on Ubuntu 14.04 x64 droplet). I have changed my FTP port from 21 to xx (something else). I allowed this port in ufw by commands:
"sudo ufw allow xx/tcp"
"sudo ufw allow xx"
But unfortunately nothing works for FTP connections. Is it so that I have to enable port 21 as well as xx OR should I try enabling PassiveMode in ProFTPd conf file?
Can anyone throw some light on this issue?