From owner-freebsd-questions@FreeBSD.ORG Fri Apr 9 01:33:11 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 840CE16A4CE for ; Fri, 9 Apr 2004 01:33:11 -0700 (PDT) Received: from poczta.wup-katowice.pl (wup.katowice.pik-net.pl [213.216.66.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A2EC43D45 for ; Fri, 9 Apr 2004 01:33:10 -0700 (PDT) (envelope-from arek@wup-katowice.pl) Received: from poczta (localhost.localdomain [127.0.0.1]) by poczta (Postfix) with SMTP id 27BDD256D66 for ; Fri, 9 Apr 2004 11:56:11 +0200 (CEST) Received: from poczta.wup-katowice.pl (poczta.wup-katowice.pl [213.216.67.81]) by poczta.wup-katowice.pl (Postfix) with ESMTP id 02656256D5E for ; Fri, 9 Apr 2004 11:56:11 +0200 (CEST) Date: Fri, 9 Apr 2004 11:56:10 +0200 (CEST) From: Arek Czereszewski To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Natd and natd_interface X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2004 08:33:12 -0000 Hi I have configuration like this: Intrenet - fxp0 (public IP) [freebsd box] - fxp1 (public IP) class /28 and some workstatins connected, mail daemon, www and others - fxp1 alias 192.168.0.1/24 and LAN And now what interface in rc.conf must be natd_interface, fxp1 or fxp0? Secend question is: This rule for ipfw is OK for configuration what i have? ipfw add 50 divert natd all from 192.168.0.0/24 to any via fxp1 I'm new in freebsd world. Can somebody help me? Arek P.S. My english is awful, sorry.