From owner-freebsd-questions Fri Jul 7 19:17: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lvcablemodem.com (hams2.lvcablemodem.com [24.234.0.76]) by hub.freebsd.org (Postfix) with ESMTP id 81B4E37B574 for ; Fri, 7 Jul 2000 19:17:05 -0700 (PDT) (envelope-from greg@beldamar.com) Received: from dhcp047.18.lvcm.com ([24.234.18.47]) by lvcablemodem.com with Microsoft SMTPSVC(5.5.1877.387.38); Fri, 7 Jul 2000 19:14:15 -0700 Date: Fri, 7 Jul 2000 19:20:19 -0700 From: "Greg S. Wirth" X-Mailer: The Bat! (v1.45 Beta/5) Personal Reply-To: "Greg S. Wirth" X-Priority: 3 (Normal) Message-ID: <40385815.20000707192019@beldamar.com> To: "Dan O'Connor" Cc: questions@FreeBSD.ORG Subject: Re[2]: DHCP & Stuff In-reply-To: <009601bfe87a$d5cb7c40$0200000a@danco> References: <009601bfe87a$d5cb7c40$0200000a@danco> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello Dan, Ok, i have ipf installed. and nat setup as far as i know. ipnat.conf------------ map dc0 192.168.0.0/24 -> 24.234.134.184/32 portmap tcp 10000:50000 map dc0 192.168.0.0/24 -> 24.234.0.0/16 when i do ipf -l i see: map 192.168.0.40 137 <- -> 24.234.0.1 137 [24.234.0.7 53] map 192.168.0.40 137 <- -> 24.234.0.1 137 [24.234.0.5 53] I still can not get outside. Can you help me please? :) Friday, July 07, 2000, 6:21:07 PM, you wrote: >>rc.conf >> gateway_enable="YES" >> hostname="creep.myisp.com" >> defaultrouter="24.234.18.1" >> ifconfig_dc0="DHCP" >> ifconfig_dc1="inet 192.168.0.50 netmask 255.255.255.0" >> >>I have ipf installed. v3.4.6 >>Defaults to "open" >>I am not running NAT. >> >>I use a cable modem, with DHCP assigned IP's. >>IP 192.168.0.40 (98 Box) can ping 192.168.0.50 DOC> Since you're using 192.168.x.x addresses, which are private and DOC> non-routable, you need to run IPFW and NATD (or IPFILTER, et al). DOC> It's not all that hard to do, see my cheat sheet at DOC> http://www.mostgraveconcern.com/freebsd/sheet.cgi?ipfw DOC> --Dan DOC> -- DOC> Dan O'Connor DOC> On Matters of Most Grave Concern DOC> http://www.mostgraveconcern.com -- Greg S. Wirth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message