From owner-freebsd-questions Tue Oct 6 23:18:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA20171 for freebsd-questions-outgoing; Tue, 6 Oct 1998 23:18:13 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns1.davidv.net (davidv.net [206.138.229.16]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA20099 for ; Tue, 6 Oct 1998 23:18:00 -0700 (PDT) (envelope-from david@davidv.net) Received: from workbox.davidv.net (david@workbox.davidv.net [10.124.239.13]) by ns1.davidv.net (8.8.8/8.8.8) with ESMTP id BAA03147; Wed, 7 Oct 1998 01:17:32 -0500 (CDT) (envelope-from david@davidv.net) Message-Id: <199810070617.BAA03147@ns1.davidv.net> X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 In-Reply-To: Date: Wed, 07 Oct 1998 01:15:39 -0500 (CDT) Reply-To: david@davidv.net Organization: My Little unix network at Home From: "David L. Vondrasek" To: "Jasper O'Malley" Subject: Re: Setting up BSD as a gateway Cc: questions@FreeBSD.ORG Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id XAA20121 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 06-Oct-98 Jasper O'Malley wrote: > On Mon, 5 Oct 1998, David Vondrasek wrote: > >> Why does he have to run natd ? > > If he's using a standard ISP dialup account, he only has one > globally-unique IP address. You need natd (or ipfilter, or a proxy > application) to make network traffic from the win95 box look like it's > coming from the valid IP. I have 1 IP assigned to my dedicated 33.6 and I'm not running any ipfiltering or a proxy Here is a ps-ax just to show ya ! david@ns1:/etc/namedb : ps -ax PID TT STAT TIME COMMAND 0 ?? DLs 0:00.60 (swapper) 1 ?? Ss 0:00.40 /sbin/init -- 2 ?? DL 0:00.21 (pagedaemon) 3 ?? DL 0:00.00 (vmdaemon) 4 ?? DL 2:30.40 (update) 27 ?? Is 0:00.02 adjkerntz -i 47 ?? Ss 24:10.16 ppp -auto -alias dial-ia 87 ?? Ss 0:04.36 syslogd 93 ?? Ss 0:16.55 /usr/sbin/named -b /etc/namedb/named.boot 99 ?? Is 0:02.43 timed 102 ?? Is 0:00.01 portmap 123 ?? Ss 0:02.01 inetd 126 ?? Ss 0:07.66 cron 130 ?? Ss 0:05.46 sendmail: accepting connections on port 25 (sendmail) 176 ?? Ss 0:28.62 /usr/local/sbin/httpd 186 ?? Is 0:00.01 /usr/local/sbin/smbd -D 190 ?? Ss 0:07.05 /usr/local/sbin/nmbd -D 3123 p0 R+ 0:00.04 ps -ax 208 v0 Is 0:03.30 -tcsh (tcsh) 209 v1 Is+ 0:00.11 /usr/libexec/getty Pc ttyv1 210 v2 Is+ 0:00.11 /usr/libexec/getty Pc ttyv2 I DO have -alias on the ppp line at start up of my ppp session though. :) > >> I'm doing it wil out running natd. > > I'd love to know how. Sure.. What files can I send you ? > >> I just tell the win95 box it's gateway is the bsd box's IP. > > How many IP addresses were you assigned by your service provider? 1 (one) > >> Note to 1st poster: You have set up internal IP's for each machine >> right? > > And if he has, how do they get mapped to real IP addresses on the > Internet > without natd or a similar facility? Got me. It just works. I'm no unix guru. I just installed the unix box as a gateway and pointed the win95 machine to the gateway . Like I said I'll be willing to send any files off the unix box that may shed light to this. > > Cheers, > Mick Cheers ! --- David Vondrasek byteme@airmail.net --You mean you paid MONEY for Service Pack '98???? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message