From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 18:55:34 2004 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 0205D16A4CE for ; Tue, 16 Mar 2004 18:55:34 -0800 (PST) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44AF943D31 for ; Tue, 16 Mar 2004 18:55:33 -0800 (PST) (envelope-from chris@monochrome.org) Received: from frambozen (frambozen [192.168.1.9]) by mail.monochrome.org (8.9.3/8.9.3) with ESMTP id VAA55201; Tue, 16 Mar 2004 21:55:22 -0500 (EST) (envelope-from chris@monochrome.org) Date: Tue, 16 Mar 2004 21:55:22 -0500 (EST) From: Chris Hill To: "Matt Coe, CCNA" In-Reply-To: <4057BA40.5030701@jargonccna.cjb.net> Message-ID: <20040316215010.N62550-100000@frambozen.monochrome.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: 4.4-RELEASE as a NAT/gateway 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: Wed, 17 Mar 2004 02:55:34 -0000 On Tue, 16 Mar 2004, Matt Coe, CCNA wrote: > [snip] ... but nothing goes from dc0 to rl0, for some reason beyond > me. Here's a snippet of my rc.conf if it helps: > > ifconfig_rl0="DHCP" > ifconfig_dc0="inet 192.168.0.1 netmask 255.255.255.0" > gateway_enable=YES > natd_enable=YES > natd_interface=rl0 > natd_flags="" > firewall_enable=YES > firewall_type=OPEN > > Is there any thing wrong with those lines? I could type out my entire > rc.conf if it's necessary... Anyone else have similar problems? You may need to add a natd.conf file in /etc, and change one of your rc.conf lines to point to it: natd_flags="-f /etc/natd.conf" # Additional flags for natd. My /etc/natd.conf looks like this, in its entirety: use_sockets yes same_ports yes unregistered_only yes ...but it's on an ancient machine and things may have changed by now. man natd for more info. HTH. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ]