From owner-freebsd-questions@FreeBSD.ORG Fri Apr 9 02:10:51 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 8E00B16A4CE for ; Fri, 9 Apr 2004 02:10:51 -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 E7A6043D3F for ; Fri, 9 Apr 2004 02:10:50 -0700 (PDT) (envelope-from arek@wup-katowice.pl) Received: from poczta (localhost.localdomain [127.0.0.1]) by poczta (Postfix) with SMTP id 0ED6C256D6B; Fri, 9 Apr 2004 12:33:52 +0200 (CEST) Received: from wup-katowice.pl (arek.wup-katowice.pl [213.216.67.82]) by poczta.wup-katowice.pl (Postfix) with ESMTP id EB082256D68; Fri, 9 Apr 2004 12:33:51 +0200 (CEST) Message-ID: <4076692E.4010002@wup-katowice.pl> Date: Fri, 09 Apr 2004 11:13:18 +0200 From: Arek Czereszewski User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040128 X-Accept-Language: pl, en-us, en MIME-Version: 1.0 To: Rob , freebsd-questions@freebsd.org References: <407663BF.7020506@users.sourceforge.net> In-Reply-To: <407663BF.7020506@users.sourceforge.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: 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 09:10:51 -0000 Rob wrote: > fxp0, the one that connects to the outside network. Yes. It is. > I don't think you have to do this yourself. > I believe by adding > natd_enable="YES" Yes, i have this. And gateway_enable, firewall_enable, firewall_type > to your rc.conf, you get the following rule as a result: > divert 8668 ip from any to any via fxp0 > which does what you want (I think). But i have 10 workstations with public IP from my subnet 213.216.67.80/28 connected to fxp1. Is this rule do NAT for this IP too? Arek -- Arkadiusz Czereszewski | gg: 1349941 arek(at)wup-katowice.pl | jid: aro@chrome.pl "*NIX is like wigwam - no windows, no gates and apache inside."