From owner-freebsd-questions@FreeBSD.ORG Wed Jul 2 04:18:50 2003 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 3B95E37B401 for ; Wed, 2 Jul 2003 04:18:50 -0700 (PDT) Received: from s1.routec.net (s1.routec.net [212.1.95.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBED643F93 for ; Wed, 2 Jul 2003 04:18:48 -0700 (PDT) (envelope-from admin@routec.net) Received: from h3n172-31-0.rlan (h3n172-31-0.rlan [172.31.0.3]) by s1.routec.net (Postfix) with ESMTP id 30AE455DCE2 for ; Wed, 2 Jul 2003 14:24:07 +0300 (EEST) Date: Wed, 2 Jul 2003 13:58:32 +0300 From: Ruslan Sulemanov X-Mailer: The Bat! (v1.63 Beta/10) Organization: ISP Routec X-Priority: 3 (Normal) Message-ID: <5121335211.20030702135832@routec.net> To: freebsd-questions@freebsd.org In-Reply-To: <20030702111512.I24709-100000@gwdu60.gwdg.de> References: <9913238963.20030702114337@routec.net> <20030702111512.I24709-100000@gwdu60.gwdg.de> MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Subject: Re[2]: configuration NAT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: admin List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2003 11:18:50 -0000 KH> On Wed, 2 Jul 2003, Ruslan Sulemanov wrote: >> I'm try configuration NAT (ipfw + natd), >> how i need start natd ? >> >> Kernel options: >> >> options IPDIVERT >> options IPFIREWALL KH> /etc/rc.conf: KH> firewall_enable="YES" # Set to YES to enable firewall functionality KH> firewall_type="open" # Firewall type (see /etc/rc.firewall) KH> ^ KH> Or whatever you want ... KH> natd_enable="YES" # Enable natd (if firewall_enable == YES). KH> natd_interface="de0" # Public interface or IPaddress to use. KH> ^ KH> Fill in here the device name of your network adapater. I do it. How i can start natd? in my /etc/rc.firewall this rules: ipfw -f flush ipfw add divert natd all from any to any via fxp0 ipfw add allow all from any to any Thanks. -- Best regards, Ruslan mailto:admin@routec.net