users based on time+ath (Please)

2006-07-24 Thread Marwan Sultan

Hello gurus,

 Please, Please! if someone can help me, how to setup any an accounts 
system based on time

and auth

 I'm On FreeBSD 6.1R its acting as a internet gateway for a comlex of 30 
appartments.

 the internet to this box is connected thro a dsl and its up/running,

 Well, We want to bill whoever sharing our internet connection on a monthly 
bases

 so basically, I want to release internet access based on time+auth.
 and to manage those users.

 I have been told to use  squid.
 as i know squid is a cache server?

 just, where to start to setup a system, that will force the user to enter 
a user/password

 to connect to the internet? considering my freebsd is the gateway?
 how to manage those users? any packages,


 what shall i do? My manager would kill if i dunt accomplish this mission 
:(


Marwan

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: users based on time+ath (Please)

2006-07-24 Thread Rafael Aquino
One way to do that is to redirect the client/connection to a webpage
that asks for a user and password, which when validated inserts 
the client IP address / mac address as a dynamic rule in the firewall 
and some parallel control using crontab (or custom way) to delete the rule 
after an amount of time...

You can do this with squid + apache + php + postgresql + pf/ipfw...

Just to start thinking on a complete solution.. ;-)

[]´s

--
Rafael Mentz Aquino
BSDServer Ltda.
51 - 9847 8825

-- Original Message ---
From: Marwan Sultan [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Mon, 24 Jul 2006 23:29:22 +
Subject: users based on time+ath (Please)

 Hello gurus,
 
   Please, Please! if someone can help me, how to setup any an 
 accounts system based on time and auth
 
   I'm On FreeBSD 6.1R its acting as a internet gateway for a comlex 
 of 30 appartments.  the internet to this box is connected thro a dsl 
 and its up/running,
 
   Well, We want to bill whoever sharing our internet connection on a 
 monthly bases  so basically, I want to release internet access based 
 on time+auth.  and to manage those users.
 
   I have been told to use  squid.
   as i know squid is a cache server?
 
   just, where to start to setup a system, that will force the user 
 to enter a user/password  to connect to the internet? considering my 
 freebsd is the gateway?  how to manage those users? any packages,
 
   what shall i do? My manager would kill if i dunt accomplish this 
 mission :(
 
 Marwan
 
 _
 Don't just search. Find. Check out the new MSN Search! 
 http://search.msn.com/
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
--- End of Original Message ---

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]