limiting root logins to WHM by IP

ufo8mydog

Registered
PartnerNOC
May 13, 2009
1
0
51
Hi guys

We use an edge firewall to block SSH access to all except for a handful of whitelisted IPs.

I would like to set up something similar for WHM, whereby

1) Login as root via the GUI is limited to a whitelist
2) Login as other users is allowed as normal (e.g., reseller clients still need to access WHM)

This would allow security against both external sources as well as 'inside jobs'. I am thinking this could be achieved via a fancy htaccess but really do not know where to start.