Skip to content

A simple webpage for ad blocking or whatever blocking needs you shall want on your network.

Notifications You must be signed in to change notification settings

Libereon-Network/accessdenied

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Libereon Networks Access Denied Page

This repository contains the Access Denied page for Libereon Networks, featuring IP-based access control and domain blocklist checking.

Requirements

  • Debian 12 LXC container
  • Apache2
  • PHP 8.1 or higher
  • PHP GMP extension
  • PHP JSON extension

Quick Installation

  1. Clone this repository into the container:

    git clone https://github.com/Libereon-Network/accessdenied.git
    cd accessdenied
  2. Run the deployment script:

    cd deploy
    chmod +x deploy.sh
    ./deploy.sh

Manual Installation

If you prefer to install manually:

  1. Install required packages:

    apt-get update
    apt-get install apache2 php php-gmp php-json libapache2-mod-php
  2. Copy files to web directory:

    mkdir -p /var/www/accessdenied
    cp -r * /var/www/accessdenied/
  3. Set permissions:

    chown -R www-data:www-data /var/www/accessdenied
    chmod -R 755 /var/www/accessdenied
  4. Configure Apache and restart:

    cp deploy/apache.conf /etc/apache2/sites-available/accessdenied.conf
    a2ensite accessdenied
    systemctl restart apache2

Features

  • IP-based access control
  • Domain blocklist checking
  • Multiple blocklist categories:
    • Malware
    • Phishing
    • Scam
    • Gambling
    • Badware
    • Cryptomining
    • Stalkerware
    • Tracking
    • Dating

Maintenance

  • Blocklists update automatically daily at midnight
  • Manual update:
    update-blocklists

Configuration

  • Apache configuration: /etc/apache2/sites-available/accessdenied.conf
  • Blocklist configuration: /var/www/accessdenied/includes/BlocklistChecker.php
  • Main page: /var/www/accessdenied/index.php

Support

For support, please visit: https://libereon.net/libereonLTE/login.php

About

A simple webpage for ad blocking or whatever blocking needs you shall want on your network.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 66.8%
  • Shell 20.5%
  • CSS 12.7%