From owner-freebsd-questions@FreeBSD.ORG Mon Nov 29 01:07:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA96F106564A for ; Mon, 29 Nov 2010 01:07:04 +0000 (UTC) (envelope-from lokadamus@gmx.de) Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.23]) by mx1.freebsd.org (Postfix) with SMTP id 003098FC13 for ; Mon, 29 Nov 2010 01:07:03 +0000 (UTC) Received: (qmail invoked by alias); 29 Nov 2010 00:40:22 -0000 Received: from d039062.adsl.hansenet.de (EHLO [80.171.39.62]) [80.171.39.62] by mail.gmx.net (mp047) with SMTP; 29 Nov 2010 01:40:22 +0100 X-Authenticated: #3333826 X-Provags-ID: V01U2FsdGVkX19py/l8TRFp0zi2UD0xETFasoEjLPNOcj91LzcEGE 5dae2zfG1A8/Ju Message-ID: <4CF2F675.4010505@gmx.de> Date: Mon, 29 Nov 2010 01:40:21 +0100 From: Lokadamus User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Lamac Lamaco References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-questions@freebsd.org Subject: Re: gateway_enable="NO" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Nov 2010 01:07:04 -0000 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