From owner-freebsd-questions Fri Apr 25 05:48:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA12788 for questions-outgoing; Fri, 25 Apr 1997 05:48:28 -0700 (PDT) Received: from pc-pvl.nanoteq.co.za (pc-pvl.nanoteq.co.za [163.195.219.103]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA12679 for ; Fri, 25 Apr 1997 05:46:55 -0700 (PDT) Received: from pc-pvl.nanoteq.co.za (localhost.nanoteq.co.za [127.0.0.1]) by pc-pvl.nanoteq.co.za (8.8.5/8.8.5) with ESMTP id OAA03803; Fri, 25 Apr 1997 14:45:24 GMT Message-Id: <199704251445.OAA03803@pc-pvl.nanoteq.co.za> To: NB cc: questions@FreeBSD.ORG Subject: Re: Gateway/Router In-reply-to: Your message of "Fri, 25 Apr 1997 20:21:11 +0800." <3360A1B7.46BA@globalink.net.ph> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Fri, 25 Apr 1997 14:45:23 +0000 From: Pierre-Andre van Leeuwen Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id FAA12784 Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 28800 USR Modem ^^^^^ > (PNP) I hope this isn't a US Robotics Winmodem. Useless in FreeBSD. Forgive my ignorance if I'm wrong, but there are loads of acronyms and abbreviations I'm never quite sure about :( > How can I configure this PC as a Gateway/Router or Internet Server. > Please give me a detailed example. > A few important details about your setup isn't mentioned. How are you connected to the Internet / ISP ? For instance, ppp? Do you have FreeBSDinstalled and working on this system of yours? Can you ping someone ? ( My favourite question :) ) The Internet server is easy. It already is an internet server, provided that you can conect to the internet successfully. To have a web server, you have to install apache. To have anonymous ftp, see man ftpd. For a gateway/router, you have to edit /etc/sysconfig and set the options accordingly. See man sysconfig and man routed. You'll probably want to set the pc up as a nameserver as well, so see man named and sysconfig. If you want more help, you'll have to give more details. Have a look at the handbook under /usr/share/doc/handbook, which is really excellent :) Good luck pierre -- Pierre-Andre van Leeuwen Electronic Engineer Powered By FreeBSD ******************************** * Nanoteq (Pty) Ltd. * * Specialists in data security * * E-mail : pvl@nanoteq.com * * Ph : +27 (0)12 665-1338 * * http://www.nanoteq.co.za * ********************************