Date: Fri, 24 Nov 2000 07:55:28 -0700 (MST) From: John Reynolds <jjreynold@home.com> To: wimo@osiricom.co.za Subject: Re: Suggestion: NATD configuration in /etc/rc.network Message-ID: <14878.33120.223311.391897@whale.home-net> In-Reply-To: <3A1E59FC.E71456ED@osiricom.co.za> References: <3A1E1CAC.250A43A3@osiricom.co.za> <4315.129.128.23.67.975056087.squirrel@viaweb.epsb.net> <3A1E59FC.E71456ED@osiricom.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
[ On Friday, November 24, Wim Olivier wrote: ]
> I'm running stock standard 4.0-RELEASE and ed2 is my external interface
> in this case.
> My suggestion stands, because rc.network should the the NATD interface
> name from the
> natd_interface="ed2" entry in the rc.conf file on any FreeBSD box on
> which natd is being configured.
>
I think it does ... from a 4.1.1-STABLE /etc/rc.network:
# Network Address Translation daemon
#
case ${natd_enable} in
[Yy][Ee][Ss])
if [ -n "${natd_interface}" ]; then
if echo ${natd_interface} | \
grep -q -E '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$'; then
natd_ifarg="-a ${natd_interface}"
else
natd_ifarg="-n ${natd_interface}"
fi
echo -n ' natd'; ${natd_program:-/sbin/natd} ${natd_flags} ${natd_ifarg}
fi
;;
esac
Same exact thing exists in 4.2-STABLE's /etc/rc.network. It looks like it was
that way in 4.0-RELEASE as well from scanning the CVS repos.
-Jr
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
John Reynolds Chandler Capabilities Engineering, CDS, Intel Corporation
jreynold@sedona.ch.intel.com My opinions are mine, not Intel's. Running
jjreynold@home.com FreeBSD 4.1.1-STABLE. FreeBSD: The Power to Serve.
http://members.home.com/jjreynold/ Come join us!!! @ http://www.FreeBSD.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14878.33120.223311.391897>
