netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Beverley <andy@andybev.com>
To: netfilter@vger.kernel.org
Subject: PortalShaper - details of scripts for a captive portal and traffic shaper
Date: Tue, 22 Nov 2011 22:09:17 +0000	[thread overview]
Message-ID: <1321999757.2382.2523.camel@andybev-desktop> (raw)

Hi all,

I'm posting this for people's interest, in case it is of use to anybody.

I have created a set of scripts (called PortalShaper) to do the
following:

  * Act as a captive portal
  * Manage the users on the captive portal
  * Traffic shape the internet connection to optimise its speed
  * Create a "splash page" to display adverts to users
  * Load-share between multiple connections

I won't go into any details in this email, except to say that all the
above is achieved with iptables and iproute2 rules, with PHP scripts for
the captive portal web pages. It's therefore easily customised, or used
as examples.

The details of how it works are contained at:

http://andybev.com/index.php/PortalShaper

Full installation instructions for installing from scratch are contained
at:

http://andybev.com/index.php/Setting_up_a_captive_portal_from_scratch_using_Debian

If you have any comments then please let me know.

Andy



             reply	other threads:[~2011-11-22 22:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-22 22:09 Andrew Beverley [this message]
2011-11-25 12:58 ` PortalShaper - details of scripts for a captive portal and traffic shaper Andy Furniss

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1321999757.2382.2523.camel@andybev-desktop \
    --to=andy@andybev.com \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).