Date: Mon, 29 Nov 2010 01:40:21 +0100 From: Lokadamus <lokadamus@gmx.de> To: Lamac Lamaco <lamacont@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: gateway_enable="NO" Message-ID: <4CF2F675.4010505@gmx.de> In-Reply-To: <AANLkTimqp5KaiTrbobsjp7RJRzdk58owJw9vFokE0vYb@mail.gmail.com> References: <AANLkTimqp5KaiTrbobsjp7RJRzdk58owJw9vFokE0vYb@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 25.11.2010 05:38, schrieb Lamac Lamaco: > The system installed now and in adresses /etc or /etc/rc.d there is no > script. > Does system work in default as ROUTER? > I ask this question, because i tried it works. > As it is written "gateway_enable="NO" # Set to YES if this host will be a > gateway" in the address -> /etc/defaults/rc.conf > But if I write gateway_enable="NO" in the address /etc/rc.conf , my > system will work in as ROUTER. I say this because the host in my system's > local network can ping my system's global IP. As i know it can be only in > ROUTER. > > Thanks. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > No, in default FreeBSD isn't working as a router. Look with sysctl at: net.inet.ip.fw.default_to_accept When is it set to 1, FreeBSD is working as a router, with a value of 0 it doesn't work as a router. Look with tcpdump where networktraffic is going. http://www.freebsd.org/doc/handbook/network-routing.html http://www.freebsd.org/doc/handbook/network-natd.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CF2F675.4010505>