You can use a third-party extension or plugin to restrict registration to specific IP addresses or ranges. Some examples include Access Control and SecurityCheck Pro.