This repository contains the Access Denied page for Libereon Networks, featuring IP-based access control and domain blocklist checking.
- Debian 12 LXC container
- Apache2
- PHP 8.1 or higher
- PHP GMP extension
- PHP JSON extension
-
Clone this repository into the container:
git clone https://github.com/Libereon-Network/accessdenied.git cd accessdenied -
Run the deployment script:
cd deploy chmod +x deploy.sh ./deploy.sh
If you prefer to install manually:
-
Install required packages:
apt-get update apt-get install apache2 php php-gmp php-json libapache2-mod-php
-
Copy files to web directory:
mkdir -p /var/www/accessdenied cp -r * /var/www/accessdenied/ -
Set permissions:
chown -R www-data:www-data /var/www/accessdenied chmod -R 755 /var/www/accessdenied
-
Configure Apache and restart:
cp deploy/apache.conf /etc/apache2/sites-available/accessdenied.conf a2ensite accessdenied systemctl restart apache2
- IP-based access control
- Domain blocklist checking
- Multiple blocklist categories:
- Malware
- Phishing
- Scam
- Gambling
- Badware
- Cryptomining
- Stalkerware
- Tracking
- Dating
- Blocklists update automatically daily at midnight
- Manual update:
update-blocklists
- Apache configuration:
/etc/apache2/sites-available/accessdenied.conf - Blocklist configuration:
/var/www/accessdenied/includes/BlocklistChecker.php - Main page:
/var/www/accessdenied/index.php
For support, please visit: https://libereon.net/libereonLTE/login.php