I want to restict Mysql remote access to my server. i want to allow only specific IPs which i want to.
Iam using WHM. how can i do this through WHM (cpanel) and through shell. Please let me know how i can do this.
You can perform this level of filtering with the allow_hosts.rules file using the advanced rules format. Try adding the following, with modified IP to the /etc/apf/allow_hosts.rules file then restart apf (/etc/init.d/apf restart or apf -r):