From owner-freebsd-isp Mon Aug 14 1: 5:51 2000 Delivered-To: freebsd-isp@freebsd.org Received: from jeff.isni.net (user207302034.fl.sprint-hsd.net [207.30.203.4]) by hub.freebsd.org (Postfix) with ESMTP id 1EBB037BD4B for ; Mon, 14 Aug 2000 01:05:47 -0700 (PDT) (envelope-from jeff@isni.net) Received: from localhost (jeff@localhost) by jeff.isni.net (8.11.0/8.11.0) with ESMTP id e7E85ho02200; Mon, 14 Aug 2000 04:05:43 -0400 (EDT) X-Authentication-Warning: jeff.isni.net: jeff owned process doing -bs Date: Mon, 14 Aug 2000 04:05:42 -0400 (EDT) From: Jeff Palmer To: John Braun Cc: freebsd-isp@FreeBSD.ORG Subject: Re: your mail In-Reply-To: <20000814074556.25474.qmail@web1401.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org You are using non-routable IP's (10.x.x.x) You would need to enable NAT (Network Address Translation) add IPFIREWALL and IPDIVERT to your kernel config, recompile, and reboot. next: grep -i nat /etc/defaults/rc.conf | grep -v ppp >> /etc/rc.conf then use your favorite text editor to modify the NAT stuff in /etc/rc.conf paying special attention to natd_enable (should be YES) and natd_interface (should be your external interface) Jeff Palmer jeff@isni.net On Mon, 14 Aug 2000, John Braun wrote: > How can I make my BSD 4.0 box as network router?=20 > I have installed BSD 4.0 (in figure "ROUTER") > and setup option gateway_enabled =3D "YES" and > router _enabled =3D "YES" >=20 >=20 >=20 >=20 > | INTERNET > | > | > ____|_________ > | | > | Provaider | > |______________| > |212.50.55.73/255.255.255.248 > | > | > |212.50.55.74/255.255.255.248 > ____|__________ > | | > | BSD 4.0 ROUTER| > |_______________| > |192.168.0.1/255.255.255.0 > | > __|_______________________=20 > | | > |192.168.0.2/255.255.255.0 > |192.168.0.3/255.255.255.0 > _|____________ _|____________ > | | | | > |BSD 4.0 mailer| | BSD 4.0 proxy| > |______________| |______________| > |10.1.51.2/255.255.255.0 |10.1.51.3/255.255.255.0 > _|__________________________|_______________ > | =20 > |=20 > | LOCAL NETWORK 10.1.51.0/255.255.255.0 =20 > | > |____________________________________________ >=20 > But it doesn't work.=20 > I can't ping any Internet=20 > IP (from local network comp 10.1.52.3). > Where may be a problem?=20 >=20 >=20 > regards, Uldis >=20 > __________________________________________________ > Do You Yahoo!? > Yahoo! Mail =96 Free email you can access from anywhere! > http://mail.yahoo.com/ >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message >=20 >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message