From owner-freebsd-questions@FreeBSD.ORG Tue Oct 8 04:21:42 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 14034EF6 for ; Tue, 8 Oct 2013 04:21:42 +0000 (UTC) (envelope-from chrisstankevitz@gmail.com) Received: from mail-ie0-x22d.google.com (mail-ie0-x22d.google.com [IPv6:2607:f8b0:4001:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DE2E82102 for ; Tue, 8 Oct 2013 04:21:41 +0000 (UTC) Received: by mail-ie0-f173.google.com with SMTP id ar20so18148899iec.18 for ; Mon, 07 Oct 2013 21:21:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=bJ9+ZFQh4D4QnYU/mGK1g3xK8igBONo3WcnKVp18mtw=; b=j5Vc+PJosKKpMaSLgZ46GRoiAmefMAkSDZlT/JVz6T8hUT7wjFDI/8SvCqYUzEUMee AVIlQ2AnnaSrPlFWX9Me3CH63rvCMCncDurVQfebn1ZUfnB24InLqNZgoxx1HueybAzi kRob7ndyF/mf0rryim3R7XHmDGvHb3bQOl32NJugb0/R9JurQDh+b6/5HVRJZ59ilP3F 1yR1YcUNhFfCk1URAYHYUIWY8r7iP2cPdZpqnOp+Uuh+nocGGpFTY+TYgvMdZwFKZf06 JD21SbfwomOYA4xS4CFtDC6p07gqPGueUfl1XUDZNEW7tWed/fuOH49WFcK88NTKQp5r IkZg== MIME-Version: 1.0 X-Received: by 10.43.154.73 with SMTP id ld9mr44273icc.53.1381206101309; Mon, 07 Oct 2013 21:21:41 -0700 (PDT) Received: by 10.42.114.3 with HTTP; Mon, 7 Oct 2013 21:21:41 -0700 (PDT) Date: Mon, 7 Oct 2013 21:21:41 -0700 Message-ID: Subject: NAT: Handbook vs mailing list From: Chris Stankevitz To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Oct 2013 04:21:42 -0000 http://www.freebsd.org/doc/handbook/network-natd.html http://lists.freebsd.org/pipermail/freebsd-questions/2011-April/229017.html Hello, Handbook section 31.9.3 suggests I should, among other things, add the line ipdivert_load="YES" to /boot/loader.conf when setting up NAT. The mailing list message linked above suggests that the handbook information is the "old way" and that the correct way is to set ipfw_enable and natd_enable in rc.conf. "Then /etc/rc.d/ipfw will load ipfw.ko, and if natd_enable is set, will invoke /etc/rc.d/natd, which loads ipdivert.ko at the right time." My inclination is to follow the handbook, but I thought I should first check to ensure the handbook is up-to-date. Thank you, Chris