Restricting web access by IP

Status
Not open for further replies.

brendandodd

New Member
Apr 13, 2019
7
0
1
28
Hi all,

Thinking about restricting access to the web interface to only a management IP address.

I believe the only aspect I am using that requires 'public' access is provisioning to handsets?


Could this be achievable, could I break other things in the process?
How would I go about this?


Thanks
 

ad5ou

Active Member
Jun 12, 2018
884
196
43
An iptables rule would be most effective way to limit access but would block provisioning as well. Pretty easy to modify as needed when provisioning new devices.

You can also use allow/deny statements in the nginx config for certain directories. With the right placement, GUI access would be blocked or redirected but could still allow provisioning.
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,412
376
83
  1. Connect to the server via RDP.
  2. Go to IIS > Sites > example.com and click IP Address and Domain Restrictions.
  3. Click Add Allow Entry button and add IP address or IP address range which should have access.
  4. Click Edit Feature Settings button, chose Deny value for Access for unspecified clients option.
Hope this helps you!
Regards,
Lewis
What if the webserver is not IIS?
 
Status
Not open for further replies.