From owner-freebsd-questions@FreeBSD.ORG Tue Jul 25 02:36:41 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 488E616A4DD for ; Tue, 25 Jul 2006 02:36:41 +0000 (UTC) (envelope-from freebsd@bsdserver.com.br) Received: from nitrobsd.bsdserver.com.br (dns.bsdserver.com.br [200.215.210.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55BF343D6A for ; Tue, 25 Jul 2006 02:36:36 +0000 (GMT) (envelope-from freebsd@bsdserver.com.br) Received: from webmail.bsdserver.com.br (localhost [127.0.0.1]) by nitrobsd.bsdserver.com.br (8.13.6/8.13.6) with ESMTP id k6P2aXRb036565 for ; Mon, 24 Jul 2006 23:36:33 -0300 (BRT) (envelope-from freebsd@bsdserver.com.br) From: "Rafael Aquino" To: freebsd-questions@freebsd.org Date: Mon, 24 Jul 2006 23:36:33 -0300 Message-Id: <20060725023138.M29776@bsdserver.com.br> In-Reply-To: References: X-Mailer: OpenWebMail 2.52 20060502 X-OriginatingIP: 200.102.225.74 (bsdserver) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: Re: users based on time+ath (Please) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jul 2006 02:36:41 -0000 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" 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 -------