Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Oct 1999 23:06:10 +0100
From:      Richard Morte <ric@sinclairassoc.force9.co.uk>
To:        "John E. Hein" <jhein@timing.com>
Cc:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Problem Accessing Internet via FreeBSD Gateway
Message-ID:  <380653D2.BF89D50F@sinclairassoc.force9.co.uk>
References:  <199910132231.XAA01836@hak.lan.Awfulhak.org> <38057269.A9E96405@sinclairassoc.force9.co.uk> <380622E3.7E23913A@sinclairassoc.force9.co.uk> <14342.13220.299479.657607@taz.timing.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"John E. Hein" wrote:
> 
> 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
> 

John,
You are absolutely right. I can't believe the hours wasted through this
one!
Thank you for spotting it. Now I feel so stupid... but at least I can go
to bed, safe in the knowledge that tomorrow the m/c will boot up and all
will be well with the world.

My appreciation once again to all concerned,
Ric


> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?380653D2.BF89D50F>