We have a need to restrict the login page to an IP range. Weâve been trying to use the Files access control app to restrict access, but so far itâs not working. Can the Files Access Control app be used to in this way, or can it only be used to restrict access to files and folders?
Sorry, running Ubuntu 16.04, Apache 2.4.18, PHP 7.0.8.
Yes, we have several VMâs on a host, thatâs running proxmox to facilitate the VMâs.
Iâm not sure exactly what youâre asking for as far as our config? Itâs a VM, running on an intranet, that connects to the outside, via a SNAP appliance with a virtual IP. Basically, we only want to be able to reach the login page internally. If someone tries to visit the login page from the outside, they should be denied. This was something we were able to do with the Owncloud firewall rules, but weâre having difficulty with NC.
You may be able to achieve this with the Request remote address: (An IP range (either v4 or v6) for the accessing user) of the Files Access Control. Put here the IP range of your intranet. Note that all rules can also be inverted (from is to is not) using the operator option.
Yeah, thatâs what weâre doing now, on our test network and itâs not working. I was just curious if anyone on the forum had similar issues. Our production environment is actually a little different, so weâre going to install an instance of NC on that and see if it works there. Thank you for your help.
Hi Everyone, I am unable to use this app correctly,
if i just whitelist my IP address it blocks my own computer as well from accessing it
anyone please help me
Hard to say without knowing your exact setup and your network configuration. But if I had to guess, Iâd say itâs probably because of NAT reflection, in wich case all requests from all your devices are coming from the IP of your router.
Another reason could be a reverse proxy that doesnât forward the IP of the devices that made the requests, in which case all requests are coming from the IP of the reverse proxy.