This article describes how you can control access to MachPanel.
This applies to MachPanel build v 7 & above
Navigate to path: Home > System Configuration > Access Control
IP Allow List:
Under IP Allow List tab click Add Rule.
Provide rule name and IP address to allow access to panel.
IP Block List:
Similarly you can block an IP, Under IP Block List tab click Add Rule.
Provide rule name and IP address to block access to panel.
Login Lockdown Policy:
Select enabled checkbox.
When enabled, this policy will lock down accounts on failed
attempts to login to control panel. This policy will only be applicable
when using Control Panel Authentication. For third party SSO these
settings will not apply.