Name: limit_login_to_ip
Owner: Nextcloud
Description: nextcloud app that lets you Limit login to IP ranges
Created: 2017-08-22 16:45:18.0
Updated: 2018-05-18 00:30:15.0
Pushed: 2018-05-18 00:30:14.0
Size: 2089
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This app modifies modifies the login logic to only allow login from specified login ranges.
The allowed IP addresses have to be passed via occ app:config
as a string
separated by comma.
For example to whitelist 127.0.0.0/24
:
occ config:app:set limit_login_to_ip whitelisted.ranges --value 127.0.0.0/24
To whitelist 127.0.0.0/24
and also 192.168.0.0/24
:
occ config:app:set limit_login_to_ip whitelisted.ranges --value 127.0.0.0/24,192.168.0.0/24
Alternatively, you can use the admin settings to restrict login to specific login ranges.