Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Python/Django-based Captive Portal System for LAN Parties. (Linux)
Python Shell CSS
Failed to load latest commit information.
docs Updating changelog with dev changes
platform Bump version
tollgate Bumped copyright year to 2014, added link to tollgate homepage in footer
www Made WFC test page README clearer.
.gitignore Remove ini files from ignore list because of potential damage to exam…
LICENSE Initial commit of code from hg r534
Makefile Move all settings generation to Python scripts that are management co… Bumped copyright year to 2014, added link to tollgate homepage in footer Big reshuffle so that everything is in the "tollgate" package. Starte…
requirements.txt Fixing Django-1.5 related view issues, started porting to djangorestf… Remove dependency on ConfigParserPlus, replace with configparser (bac…

tollgate README

tollgate - A captive portal software for Linux for LAN parties.

Copyright 2008-2014 Michael Farrell

Version 3.0.2+.



Welcome to tollgate. This is a captive portal system for Linux, designed for operating LAN parties. A lot of the concepts in the software are specific to how a LAN party operates, however you could use it for a sharehouse if you wanted, or something else.

It was originally called portal2. It managed the StreetGeek and SAGA internet connection for about two years, before I discontinued my involvement with the event. It's name was changed before public release due to the release of a video game of the same name about the same time (April 2011).

It consists of two parts, connected via dbus:

  • A frontend system, which does most of the heavy lifting, including managing users and quota. It is a Django website.
  • A backend system. This is only there to insulate the frontend from running programs as root directly. It also abstracts calls to the firewall, and maintains the list of unmetered and blacklisted hosts.

This software isn't based on any existing captive portal solution - it's entirely from-scratch. At the time that development started (2008) there wasn't any freely available software that did what we wanted, so I wrote one.


Full documentation for the project is located in the docs folder and may be generated with Sphinx.

Alternatively, it is available online at:

Something went wrong with that request. Please try again.