From owner-freebsd-net@FreeBSD.ORG Thu Jan 5 16:44:33 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C01416A41F for ; Thu, 5 Jan 2006 16:44:33 +0000 (GMT) (envelope-from regnauld@catpipe.net) Received: from moof.catpipe.net (moof.catpipe.net [195.249.214.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B6CC43D5A for ; Thu, 5 Jan 2006 16:44:31 +0000 (GMT) (envelope-from regnauld@catpipe.net) Received: from localhost (localhost [127.0.0.1]) by localhost.catpipe.net (Postfix) with ESMTP id 0E3931B35F; Thu, 5 Jan 2006 17:44:30 +0100 (CET) Received: from moof.catpipe.net ([127.0.0.1]) by localhost (moof.catpipe.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 34705-10; Thu, 5 Jan 2006 17:44:24 +0100 (CET) Received: from vinyl.catpipe.net (vinyl.catpipe.net [195.249.214.189]) by moof.catpipe.net (Postfix) with ESMTP id 91D3E1B358; Thu, 5 Jan 2006 17:44:16 +0100 (CET) Received: by vinyl.catpipe.net (Postfix, from userid 1006) id AC5BA39834; Thu, 5 Jan 2006 17:41:44 +0100 (CET) Date: Thu, 5 Jan 2006 17:41:44 +0100 From: Phil Regnauld To: "Douglass, Erik" Message-ID: <20060105164144.GA77891@catpipe.net> References: <566E54419328A642A3A6E91376E885B1047BA1F6@txex.tx.get> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <566E54419328A642A3A6E91376E885B1047BA1F6@txex.tx.get> X-Operating-System: FreeBSD 5.4-STABLE i386 Organization: catpipe Systems ApS User-Agent: Mutt/1.5.9i X-Virus-Scanned: amavisd-new at catpipe.net Cc: freebsd-net@freebsd.org Subject: Re: Proxy X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2006 16:44:33 -0000 Douglass, Erik (EDouglass) writes: > Hello, > > > > I know this may sound as if I am biting off a bit more than I can chew > as I don't have much exp with FreeBSD or Unix. I work at a hotel, and > have been tasked to implement a proxy for all of the guest rooms that > displays an html legal disclaimer that the guest has to agree to in > order to get out. I have chosen to use FreeBSD as I do have some (very > minimal) experience with it. I don't expect a full step by step, but if > anyone could throw me some key words, tips, etc to get my internet > searches started I would be most thankful. You are looking for what's called a captive gateway. Try looking at www.m0n0.ch/wall (m0n0wall) to start with. > Any tips on how to - > > Set up a proxy/router > > Serve the web page that needs to be agreed to before it allows one out. They're not very complicated tasks, you should start by looking at: NoCatAuth is our original "catch and release" captive portal implementation. It provides a simple splash screen web page for clients on your network, as well as a variety of authenticated modes. It is written in Perl. NoCatSplash is the C port of NoCatAuth. It currently supports a splash screen (also known as "open mode") and has beta support for authenticated access. http://nocat.net/