From owner-freebsd-questions Thu Oct 14 12:48:59 1999 Delivered-To: freebsd-questions@freebsd.org Received: from timingpdc.timing.com (timingpdc.timing.com [206.168.13.194]) by hub.freebsd.org (Postfix) with ESMTP id 0A35B14BCC for ; Thu, 14 Oct 1999 12:48:56 -0700 (PDT) (envelope-from jhein@timing.com) Received: from taz.timing.com ([206.168.13.210]) by timingpdc.timing.com (Post.Office MTA v3.1.2 release (PO205-101c) ID# 103-49575U100L2S100) with ESMTP id AAA183; Thu, 14 Oct 1999 13:49:30 -0600 Received: (from jhein@localhost) by taz.timing.com (8.8.7/8.8.7) id NAA00961; Thu, 14 Oct 1999 13:48:52 -0600 X-Authentication-Warning: taz.timing.com: jhein set sender to jhein@taz.timing.com using -f MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14342.13220.299479.657607@taz.timing.com> Date: Thu, 14 Oct 1999 13:48:52 -0600 (MDT) From: "John E. Hein" To: Richard Morte Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: Problem Accessing Internet via FreeBSD Gateway In-Reply-To: <380622E3.7E23913A@sinclairassoc.force9.co.uk> References: <199910132231.XAA01836@hak.lan.Awfulhak.org> <38057269.A9E96405@sinclairassoc.force9.co.uk> <380622E3.7E23913A@sinclairassoc.force9.co.uk> X-Mailer: VM 6.73 under Emacs 20.3.1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Richard Morte wrote at 19:37 +0100 on Oct 14: [snip] > What I do not understand is that I have ``gateway_enable="YES"'' in my > rc.conf file. It's been there from the date I started configuring > FreeBSD as a gateway. > > I am beginning to wonder if some of the other settings are interfering > with the gateway option. I have attached the (quite small) rc.conf file. > If anyone can spot any obvious no-no's in the file, please let me know. [snip] > gateway_enable="Yes" [snip] You had 'gateway_enable="Yes"' instead of 'gateway_enable="YES"'. This is not a particularly user-friendly feature, but rc.network is case sensitive for this variable (and others): if [ "X$gateway_enable" = X"YES" ]; then echo -n ' IP gateway=YES' sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1 fi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message