nextcloud app that lets you Limit login to IP ranges
Перейти к файлу
Nextcloud bot 8b7f1f8a60
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-04 01:15:21 +00:00
.github/workflows chore: update workflows from templates 2024-08-22 22:26:23 +02:00
.tx
appinfo chore(releases): bump for Nextcloud 30 2024-07-25 16:26:47 +02:00
css
js
l10n Fix(l10n): Update translations from Transifex 2024-11-04 01:15:21 +00:00
lib
screenshots
templates
tests
vendor-bin
.gitignore
.nextcloudignore
.php-cs-fixer.dist.php
CHANGELOG.md
COPYING
Makefile
README.md
composer.json
composer.lock
krankerl.toml
psalm.xml

README.md

Limit login to IP ranges

This app modifies the login logic to only allow logins from specified ip address ranges.

The allowed IP addresses have to be passed via occ app:config as a string separated by comma.

For example:

To allow 127.0.0.0/24:

  • occ config:app:set limit_login_to_ip whitelisted.ranges --value 127.0.0.0/24

To allow 127.0.0.0/24 and 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

To allow 127.0.0.0/24 and also 192.168.0.0/24 as well as 2001:db8::/32:

  • occ config:app:set limit_login_to_ip whitelisted.ranges --value 127.0.0.0/24,192.168.0.0/24,2001:db8::/32

Alternatively, you can use admin settings to restrict logins to specific ip address ranges.