From owner-freebsd-questions@FreeBSD.ORG Sat Apr 21 19:02:31 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E4FE16A403 for ; Sat, 21 Apr 2007 19:02:31 +0000 (UTC) (envelope-from peter@pean.org) Received: from mxfep03.bredband.com (mxfep03.bredband.com [195.54.107.76]) by mx1.freebsd.org (Postfix) with ESMTP id 9777313C45A for ; Sat, 21 Apr 2007 19:02:30 +0000 (UTC) (envelope-from peter@pean.org) Received: from ironport.bredband.com ([195.54.107.82] [195.54.107.82]) by mxfep03.bredband.com with ESMTP id <20070421190229.PGBQ23113.mxfep03.bredband.com@ironport.bredband.com> for ; Sat, 21 Apr 2007 21:02:29 +0200 Received: from c-1fda72d5.07-172-73746f44.cust.bredbandsbolaget.se (HELO [172.25.1.24]) ([213.114.218.31]) by ironport.bredband.com with ESMTP; 21 Apr 2007 21:02:29 +0200 Message-ID: <462A5FC4.5060803@pean.org> Date: Sat, 21 Apr 2007 21:02:28 +0200 From: =?UTF-8?B?UGV0ZXIgQW5rZXJzdMOlbA==?= User-Agent: Thunderbird 1.5.0.10 (X11/20070412) MIME-Version: 1.0 To: Angelin Lalev References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD machine instead of wireless hotspot device 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: Sat, 21 Apr 2007 19:02:31 -0000 Angelin Lalev wrote: > I have wireless hotspot device (Handlink WG-601) which I need to replace with FreeBSD machine. > The device has following functionality I need to replicate: > > 1. It has dhcp server (that's easy) > 2. It makes NAT between it's "internal" interfaces and "wan" interface (easy too, but look at 3). > 3. It actually responds on every ARP request coming on it's internal interfaces. That allows it to act > as router for machines that instead of using dhcp are configured with wrong static IP addresses. > 4. It can use RADIUS for authentication of the users. > Actually, non-authenticated users are given IP address (no WPA, TKIP, etc) and when they first > try to load a web page are redirected to authentication web-page. Then their username and password > are checked against RADIUS database and only then they are allowed to connect to the outer network. > > Two more things: > > 1. It was part of a larger wireless hotspot service, sponsored from the government and implemented by outer organization, so buying another with my organization's money is out of the question. > 2. I'm aware of the issues with security but again I cannot modify the policy there. > > I'll be very thankful for any ideas. I've done something very similar to this with FreeBSD (nanobsd). Check out http://www.pean.org/authpf_on_FreeBSD.html and http://www.pean.org/NanoBSD.html Hope it will be of any help.