From owner-freebsd-questions Mon May 15 20: 7:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 33F4437B9BF for ; Mon, 15 May 2000 20:07:09 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id XAA55879; Mon, 15 May 2000 23:07:06 -0400 (EDT) (envelope-from cjc) Date: Mon, 15 May 2000 23:07:06 -0400 From: "Crist J. Clark" To: Enlace Colombia Cc: FreeBSD-questions@FreeBSD.ORG Subject: Re: Natd doesnt work. Message-ID: <20000515230706.I55458@cc942873-a.ewndsr1.nj.home.com> Reply-To: cjclark@home.com References: <20000516014410.10502.qmail@web4703.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000516014410.10502.qmail@web4703.mail.yahoo.com>; from enlace_colombia@yahoo.es on Tue, May 16, 2000 at 03:44:10AM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, May 16, 2000 at 03:44:10AM +0200, Enlace Colombia wrote: > Hi, i am getting problems with natd, this is my info: > > Server: > ed0: > fxp0: 192.168.0.1 > Clients: > 192.168.0.2 to 192.168.0.4 > > Server's rc.conf: > .... > gateway_enable="YES" > firewall_enable="YES" > firewall_type="open" > natd_enable="NO" > > rc.local: > .... > natd -f /etc/natd.conf: > > natd.conf: > alias_address 209.83.250.106 > use_sockets yes > same_ports yes > redirect_address 192.168.0.2 209.83.250.106 > redirect_address 192.168.0.3 209.83.250.106 > redirect_address 192.168.0.4 209.83.250.106 > redirect_address 192.168.0.5 209.83.250.106 > > > Thanks alot for any advice or comment. First, why not start natd(8) with, natd_enable="YES" natd_flags="-f /etc/natd.conf natd_interface="209.83.250.106" In rc.conf rather than the rc.local entry. Since rc.local is started dead last, doing things in that order can break your network startup. Second, some hints about the "problems" you are getting? -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message