March 31, 20215 yr I was asked to realize an IP-Firewall for Nextcloud, so I did. It can be downloaded from here. After uploading the firewall.php to your website's root directory, you need to open example.com/firewall.php to install the Firewall-Code to your .htaccess. After that all visitors are blocked and temporarily forwarded to the Firewall Page. After entering the valid key, they are permanently unlocked and forwarded again. Supported languages: - English - German By opening example.com/firewall.php?key=yourKey&uninstall, you can uninstall the firewall again (don't forget to delete firewall.php, too). Donate if you like: https://www.paypal.me/marcgutt https://github.com/sponsors/mgutt
March 31, 20215 yr Author Nextcloud: To use the firewall with Nextcloud you need to search for this line in the .htaccess file: RewriteCond %{REQUEST_FILENAME} !/cron.php And add this line after it: RewriteCond %{REQUEST_FILENAME} !/firewall.php
Archived
This topic is now archived and is closed to further replies.