How to limit access to the device by IP address