Networking Forums

Networking Forums > Computer Networking > Linux Networking > Temporary internet access

Reply
Thread Tools Display Modes

Temporary internet access

 
 
jack
Guest
Posts: n/a

 
      12-22-2010, 06:48 AM
sl@exabyte wrote:
> A friend asked me a general question, which I am not sure how to implement.
>
> How to implement a network system, where a user will be given a password to
> login, which will then allow it to access internet for one session only ?
> (For another session, another password will be given.)
>
> Another scenario is: a user can bring its laptap, plugs in into a network
> port and login for a single session.
>


That's a fairly broad question. How is a 'session' defined? By time, by
visiting one page, one website? Is it restricted to port 80/443 TCP, or
does it imply any type of connection to anything the internet? What does
the rest of the network look like (i.e. do 'normal' users expect
unrestricted internet access, what routers/firewalls are in place?

The canonical answer is: install a router/firewall that makes sure
nothing on the network has internet access, and install a squid proxy
(either in transparent proxy mode, or put a small web server on the
network that server a proxy-autoconfiguration file that points new
clients to the proxy). Configure the squid to use some authentication
scheme that you control with your definition of 'session'. That could be
implemented as a simple username/password file with a couple of php or
perl scripts to manage it, an LDAP server, or some PAM modules.

I would Google for 'Internet Cafe setup', there are lots of ways to do this.

-j
 
Reply With Quote
 
 
 
 
Chris Davies
Guest
Posts: n/a

 
      12-22-2010, 07:16 AM
sl@exabyte <(E-Mail Removed)> wrote:
> How to implement a network system, where a user will be given a password to
> login, which will then allow it to access internet for one session only ?
> (For another session, another password will be given.)


> Another scenario is: a user can bring its laptap, plugs in into a network
> port and login for a single session.


Take a look at nocat and see if that could help you
Chris
 
Reply With Quote
 
sl@exabyte
Guest
Posts: n/a

 
      12-22-2010, 09:34 PM
A friend asked me a general question, which I am not sure how to implement.

How to implement a network system, where a user will be given a password to
login, which will then allow it to access internet for one session only ?
(For another session, another password will be given.)

Another scenario is: a user can bring its laptap, plugs in into a network
port and login for a single session.

Thanks.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Temporary internet connection 3G? fred Broadband 7 11-15-2010 03:36 PM
Temporary connection citizen142 Home Networking 3 02-16-2006 07:49 PM
I need help for a temporary solution Brent White Windows Networking 9 11-10-2005 10:25 PM
Temporary internet access for visitors normf Broadband Hardware 0 01-07-2005 11:47 PM
How do I let people access the internet via an access point but not allow them access to my network yar Wireless Networks 3 09-21-2004 03:48 AM



1 2 3 4 5 6 7 8 9 10 11