add events ounziw_iprestriction_invalid. You can change the default process, when a user logins from not-allowed IP.