From owner-freebsd-questions@FreeBSD.ORG Sun Jan 30 20:05:41 2005 Return-Path: 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 1D7C116A4CE for ; Sun, 30 Jan 2005 20:05:41 +0000 (GMT) Received: from mail21.sea5.speakeasy.net (mail21.sea5.speakeasy.net [69.17.117.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BFD343D39 for ; Sun, 30 Jan 2005 20:05:40 +0000 (GMT) (envelope-from listmail@filn.net) Received: (qmail 15362 invoked from network); 30 Jan 2005 20:05:40 -0000 Received: from dsl093-017-017.msp1.dsl.speakeasy.net (HELO [192.168.3.4]) (listmail@filn.net@[66.93.17.17]) (envelope-sender )AES256-SHA encrypted SMTP for ; 30 Jan 2005 20:05:39 -0000 Message-ID: <41FD3E05.8030202@filn.net> Date: Sun, 30 Jan 2005 14:05:25 -0600 From: Tim Erlin User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robert Slade References: <1107100053.7135.18.camel@lmail.bathnetworks.co.uk> In-Reply-To: <1107100053.7135.18.camel@lmail.bathnetworks.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: "freebsd-questions@freebsd.org" Subject: Re: Free BSD Router/Gateway X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jan 2005 20:05:41 -0000 Robert Slade wrote: > This leads me to my first question, what modem should I use, is there a > USB or PCI modem that works well with Free BSD? Is there a reason you wouldn't just connect the 'modem' to the FreeBSD box via ethernet? The DSL comes into the modem, the ethernet goes out to the FreeBSD box. You would need a second NIC in the box for this. If you want to confirm compatible hardware, check out the hardware notes associated with the release you're using: http://www.freebsd.org/releases/index.html > Thinking about the Firwall / Routing issue leads to more questions: > > What would the best way of doing this be, bearing in mind that it would > need to be remotely administered, preferably by a web page? The minimal requirements would be: 1. NAT (network address translation) The FreeBSD handbook has some good material on configuring NAT and port forwarding. 2. Firewall Application (ipfw, ipf, ipfilter) 3. DHCP (dhcpd) 4. DNS (BIND, djbdns) These apps are either built in or easily available via the ports tree. If you're going to have multiple IPs coming in the DSL and routed to the hosts behind it, you'll want to look at aliasing the interface to accept traffic for all of them ('man ifconfig'). As for the remote administration, if you *really* want web based, webmin is popular (http://www.webmin.com/)but then again, so is ssh. If you can live with the command line, you won't have to install a webserver at all. > Is there a Howtoo or similar that would help? Many. Google is your friend. http://www.google.com/search?hl=en&q=freebsd+howto+firewall&btnG=Google+Search http://www.google.com/search?hl=en&lr=&safe=off&q=freebsd+howto+NAT&btnG=Search http://www.google.com/search?hl=en&lr=&safe=off&q=freebsd+howto+DNS&btnG=Search etc ... Good luck. --Tim Erlin