Re: User authenticate before accessing network.

From: Bernd Eckenfels (ecki-news2002-06@lina.inka.de)
Date: 06/25/02


From: Bernd Eckenfels <ecki-news2002-06@lina.inka.de>
Date: 25 Jun 2002 04:44:08 GMT

luke.my <luqmannor@hotmail.com> wrote:
> Anyone out there has any suggestion of similar solution? Or URL that I
> can refer to? and if it is open source, it will be nice too.

With Linux you can do the following:

Redirect all outgoing tcp connections to port 80 to a local http server with
the ipchains/iptables redirect target.

On the local web server you run a cgi which is opening (i.e. inserting an
normal accept without the redirect) into a rule chain if it receives the
"accept" button.

To remove the rule you can have a connection to dhcp or you simply flush
them every nite.

Greetings
Bernd


Quantcast