Scan FTP uploaded files on cpanel servers

Scan FTP uploaded files on cPanel servers First lets install clamAV , it has been now been included in Cpanel/WHM you can do so from your WHM interface as root by clicking on : Cpanel —> Manage Plugins —> on clamavconnector Check the “Install and Keep Updated” and then click at the bottom of the […]

Block FTP access using firewall

Block FTP access using the IPtables(Default system firewall) 1) If you want to completely disable the FTP access on the server then run the command : root@server[#] iptables -A INPUT -p tcp –dport 21 -j DROP 2) If you want to block FTP access for a Specific IP then run the below command : root@server[#] […]