From owner-freebsd-questions@FreeBSD.ORG Mon May 12 18:02:45 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D382437B401 for ; Mon, 12 May 2003 18:02:45 -0700 (PDT) Received: from rawfire.torche.com (rawfire.torche.com [166.88.255.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE8FC43F3F for ; Mon, 12 May 2003 18:02:42 -0700 (PDT) (envelope-from freebsd@rawfire.torche.com) Received: from rawfire.torche.com (localhost.torche.com [127.0.0.1]) by rawfire.torche.com (8.12.6/8.12.6) with ESMTP id h4D12iDw011361 for ; Mon, 12 May 2003 18:02:44 -0700 (PDT) (envelope-from freebsd@rawfire.torche.com) Received: from localhost (freebsd@localhost)h4D12h5v011358 for ; Mon, 12 May 2003 18:02:44 -0700 (PDT) Date: Mon, 12 May 2003 18:02:43 -0700 (PDT) From: Chris P To: freebsd-questions@freebsd.org In-Reply-To: <20030512060506.C6874@rawfire.torche.com> Message-ID: <20030512180054.L7137@rawfire.torche.com> References: <20030511202927.A827@rawfire.torche.com> <20030512033615.P88785@Gina.esfm.ipn.mx> <20030512060506.C6874@rawfire.torche.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: NAT + 5.0-RELEASE #0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2003 01:02:46 -0000 So I'll ask the list now. Have anyone needed to modify the kernel in 5.0 to get NAT to work? I'm very familiar with needing to do it with the 4.x versions. I just dont want to have to crash my machine if someone has tried it and failed, or if no one has tried it. All web pages that talk about it that I have found are for the 4.x versions. Thanks. C. On Mon, 12 May 2003, Chris P wrote: > > Have you actually done this with 5.0? This is really all I need to know. > > Thanks. > > C. > > On Mon, 12 May 2003, Eduardo Viruena Silva wrote: > > > On Sun, 11 May 2003, Chris P wrote: > > > > > > > > I'm having some issues getting NAT working. > > > > > > It all worked great on 4.8, but I had to tweak the kernel to get it to > > > work. Anyone else have issues with it working on a stock kernel with 5.0? > > > > include these lines to your kernel description: > > > > options IPDIVERT > > options IPFIREWALL > > > > compile your kernel and install it. > > > > > > > > My net is coming in on an0, and I'm wanting to share it to the house on > > > dc0. > > > > add these lines to your /etc/rc.conf: > > > > natd_enable="YES" > > natd_interface="an0" > > > > and give your dc0 interface an IP, v. gr: > > > > ifconfig_dc0="inet 192.168.1.254 netmask 255.255.255.0" > > > > enable your firewall > > > > firewall_enable="YES" > > > > and choose a type for your firewall. > > > > firewall_type="file_name" > > > > of course, (full path) file_name contains the rules for your > > firewall. > > > > > > > dhcp is up and running fine, and the connection to the net is > > > working fine also, just cant get em talking to each other! > > > > > > Any help is appreciated! > > > Thanks.. > > > > > > C. > > > > > > > Eduardo. > > > > -- > > 2B | ~ 2B == ? > > > > Hamlet > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >