Skip to content

nextcloud/limit_login_to_ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

394 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Limit login to IP ranges

REUSE status

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.

About

Nextcloud app that lets you Limit login to IP ranges

Topics

Resources

License

Contributing

Security policy

Stars

26 stars

Watchers

5 watching

Forks

Contributors