From owner-freebsd-questions Thu May 23 7:16:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from munkboxen.mine.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by hub.freebsd.org (Postfix) with ESMTP id DE2CA37B403 for ; Thu, 23 May 2002 07:16:04 -0700 (PDT) Received: (from munk@localhost) by munkboxen.mine.nu (8.11.6/8.11.6) id g4NEF8Z11131 for freebsd-questions@freebsd.org; Thu, 23 May 2002 15:15:08 +0100 (BST) (envelope-from munk) Date: Thu, 23 May 2002 15:11:03 +0100 From: Jez Hancock To: =?iso-8859-1?Q?Th=2ESchlo=DFbauer?= Subject: Re: FreeBSD Router with ppp to DSL: can not connect from MS Clients to Internet; ping on MS Clients works - http, ftp don't works Message-ID: <20020523151103.A11106@munkboxen.mine.nu> References: <000e01c20260$b0833520$5500a8c0@pc850> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <000e01c20260$b0833520$5500a8c0@pc850>; from info@schlossbauer.de on Thu, May 23, 2002 at 03:49:32PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, May 23, 2002 at 03:49:32PM +0200, Th.Schloßbauer wrote: > Hy, > > I have a problem with the setup of my FreeBSD(4.5)-Router and MS-Clients. For setup my T-DSL connection with FreeBSD there is enough information on the web. This works fine. On the FreeBSD Box ping, http, ftp works. I use ppp with nat. But I can't get work http, ftp on the Win Clients. Only ping works (with abs. IP adresses and symbolic). > > What can I do to enable the MS-Clients for http, ftp, ... connections. Do I have to setup more routing parameters. All the articels on the web are only about the setup of the DSL connection. But this was no problem. My problem are the steps after this. Presuming NAT is setup correctly, it shouuld be enough to point all of your windows clients to the FreeBSD router as a gateway and for DNS enter in a primary DNS server on the MS machines. Do this for each MS machine: (Network applet, select the tcp/ip properties page for the network card -> freebsd box) 1. Set 'Gateway' to IP addr of bsd router. 2. Set 'DNS' to know good DNS server. 3. Add the following to your c:\windows_dir\hosts file: # change these for your setup: bsdrouter_name 1.1.1.1 3. Reboot. If NAT is working correctly on the bsd router, you should be able to ping the external network / internet from the MS clients (from DOS, try and ping say the DNS server(s) you entered in the DNS tab). If this doesn't work (and you can ping the BSD router ok from MS), then there is probably an issue with the NAT on the router. In that case we would need more info on how you have NAT setup (including brief snippets of your config files). Good luck. > Thanks. You're welcome. -- Jez Hancock - munk@munkboxen.mine.nu http://munkboxen.mine.nu - FreeBSD network http://www.freebsd.org - Probably the best OS in the world... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message