From owner-freebsd-newbies@FreeBSD.ORG Tue Dec 23 15:55:45 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB25D16A4CE for ; Tue, 23 Dec 2003 15:55:45 -0800 (PST) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29E5C43D3F for ; Tue, 23 Dec 2003 15:55:44 -0800 (PST) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Tue, 23 Dec 2003 17:58:52 -0600 Message-ID: <3FE8D5C8.6040909@daleco.biz> Date: Tue, 23 Dec 2003 17:54:48 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031124 X-Accept-Language: en-us, en MIME-Version: 1.0 To: konsu References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Dec 2003 23:58:52.0828 (UTC) FILETIME=[B79A5DC0:01C3C9B0] cc: freebsd-newbies@freebsd.org Subject: Re: how to set up a network? X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2003 23:55:46 -0000 konsu wrote: >hello, > >my setup is going to be: > >1. windows xp machine with NIC connected to a hub >2. freebsd machine with NIC connected to the same hub >3. the hub is connected to a dsl modem > > Hello! Be prepared to see a flame or two; the "newbies" list is not often used for technical questions. But, welcome anyhow, and I'll try to offer a word of advice. YMMV. > > >1. i am going to use the freebsd system for web server development. > but i do not want to pollute the server with unnecessary browser > installations, so i would like to be able to browse to my freebsd > site from IE on the windows system. but the site does not need to > be visible from outside of my little network. > > > I do this all the time. Trick the XP machine by putting fake info in the hosts file. IIRC, path is c:\windows\system32 \drivers\etc\hosts. Like FreeBSD*, it'll check there first. 192.168.1.1 mydevelopment.web.com >2. i need to be able to copy files from my freebsd machine to XP. > > > Enable ftp via /etc/inetd.conf. Or use an ssh(sftp) client. Or, install SAMBA. (/usr/ports/net/samba). >3. i assume that since i have a hub, my machines can connect to the > internet independently. > > I wouldn't assume that if I were you, unless the dsl modem is known to have NAT capability, or the ISP is giving you two publically routable addresses, in which case your sites will be visible from outside without specifically configuring otherwise, (say, a firewall at least). > >please point me to the right resources as to how to set this up. >i have no clue which technology to research. do i need any extra >software in addition to the basic OS setup? i would really prefer >to not use any extra stuff. > >thanks! >konstantin > > I'd definitely think of using the FBSD machine as a gateway/firewall also, as I'm assuming there will be one external IP address, and you'll need one of the computers to have that address. I could be wrong; but in my setups over here, the cable/DSL modems don't handle the NAT duties, so a router or *BSD box needs to. HTH, Kevin Kinsey DaleCo, S.P. ----------------------------------------------------------------------------------- *Yes, that's configurable, but it's default, right?