My FTP server is regularly attacked. To make server more secure I changed default FTP port from 21.
I did it with instructions from here: http://www.esds.co.in/forum/f5/how-change-ftp-port-21-another-port-linux-plesk-server-4196/
This works perfectly for access to server, but it doesn't work for backing up server with personal FTP repository. Thing is, I could see my FTP backup server, but backup doesn't work. Restore works, as I see backup server.
I have other server I use for backing up. On it I changed FTP port to the same one on main server (the one I want to backup). Now I have working backup, but I couldn't restore, as Plesk looks for default port.
Is there a right way to change FTP port, so every part of Plesk is able to use it?
I did it with instructions from here: http://www.esds.co.in/forum/f5/how-change-ftp-port-21-another-port-linux-plesk-server-4196/
Change FTP port from 21 to another (2021) port on linux plesk server.
edit /etc/proftpd.conf
change the port from 21 to another port suppose port 2021
also edit file /etc/services and make following changes
# 21 is registered to ftp, but also used by fsp
ftp 2021/tcp
ftp 2021/udp fsp fspd
then open the new port in csf.conf file and restart xinet.d service on the server.
Done.
This works perfectly for access to server, but it doesn't work for backing up server with personal FTP repository. Thing is, I could see my FTP backup server, but backup doesn't work. Restore works, as I see backup server.
I have other server I use for backing up. On it I changed FTP port to the same one on main server (the one I want to backup). Now I have working backup, but I couldn't restore, as Plesk looks for default port.
Is there a right way to change FTP port, so every part of Plesk is able to use it?