users based on time+ath (Please)
freebsd at bsdserver.com.br
Tue Jul 25 02:36:41 UTC 2006
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.. ;-)
Rafael Mentz Aquino
51 - 9847 8825
---------- Original Message -----------
From: "Marwan Sultan" <dead_line at hotmail.com>
To: freebsd-questions at 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 :(
> Don't just search. Find. Check out the new MSN Search!
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
------- End of Original Message -------
More information about the freebsd-questions