From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 00:06:25 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 EE18316A4B3 for ; Sat, 18 Oct 2003 00:06:25 -0700 (PDT) Received: from g38.rdsbv.ro (g38.rdsbv.ro [193.231.237.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95AE343FAF for ; Sat, 18 Oct 2003 00:06:24 -0700 (PDT) (envelope-from g38@rdsbv.ro) Received: from dzerjinski.kgb.ro (kgb [193.231.237.196]) by g38.rdsbv.ro (Postfix) with ESMTP id 709ECDCA5 for ; Sat, 18 Oct 2003 10:06:22 +0300 (EEST) From: Petre Bandac Organization: g38 To: freebsd-questions@freebsd.org Date: Sat, 18 Oct 2003 10:06:21 +0300 User-Agent: KMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310181006.21802.g38@rdsbv.ro> Subject: ipfw routing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: g38@rdsbv.ro List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2003 07:06:26 -0000 hello I have to use a freebsd machine as a gateway router; I did manage to make natd work, but now I have also a subnet routed to the machine I'm looking for the ipfw command similar to iptables' -A FORWARD -d $subnet/ $mask -j ACCEPT also, what's the difference between ipfw add pass and ipfw add forward ? thanks, petre -- 10:03AM up 5 days, 22:09, 4 users, load averages: 1.81, 1.70, 1.58