Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2006 23:36:33 -0300
From:      "Rafael Aquino" <freebsd@bsdserver.com.br>
To:        freebsd-questions@freebsd.org
Subject:   Re: users based on time+ath (Please)
Message-ID:  <20060725023138.M29776@bsdserver.com.br>
In-Reply-To: <BAY20-F773719E1388212A69034E9A650@phx.gbl>
References:  <f2c91f770607241610q278b84cs43c7bb2762104238@mail.gmail.com> <BAY20-F773719E1388212A69034E9A650@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <dead_line@hotmail.com>
To: freebsd-questions@freebsd.org
Sent: Mon, 24 Jul 2006 23:29:22 +0000
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 "freebsd-questions-unsubscribe@freebsd.org"
------- End of Original Message -------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060725023138.M29776>