Skip to content

Raspberry Pi-based captive portal system with remote authentication, DNS redirection, and SSH reverse tunneling for secure network access management in business environments.

Notifications You must be signed in to change notification settings

ganainy/raspberrypi-captive-portal

Repository files navigation

Raspberry Pi Captive Portal (Remote Login)

Overview

This branch implements a captive portal on the Raspberry Pi that redirects users to a remote authentication server. Users can manually end their session when they're done using the internet. This setup is more suitable for large businesses with centralized user data, where user management and authentication are handled remotely.

Note: For local authentication without relying on a Hosting service (everything will be handled directly on the Raspberry Pi, making it more suitable for small businesses), check out the local-login branch.

Features

  • HTTP Interception & DNS Redirection: Automatically detects and redirects users to the captive portal.
  • Remote User Login & Authentication: Users authenticate via a remote web server.
  • SSH Reverse Tunnel: Secure communication between the remote server and the Raspberry Pi.
  • Automatic Session Management: Handles session durations and renewals for users.
  • Configuration via .env files: Easily manage settings for different components.

Prerequisites

  • Raspberry Pi with Wi-Fi capability
  • Ethernet connection for internet backhaul
  • Any Ubuntu/Debian RPi distro
  • AWS EC2 instance with elastic IP
  • Registered domain name

Quick Start

  1. Clone the repository and switch to remote-login branch
  2. Follow RPi setup instructions in rpi-setup.md
  3. Follow remote server setup instructions in remote-server-setup.md
  4. Configure the remote server settings
  5. Start the services

About

Raspberry Pi-based captive portal system with remote authentication, DNS redirection, and SSH reverse tunneling for secure network access management in business environments.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published