From owner-freebsd-net Tue Aug 8 2: 8:51 2000 Delivered-To: freebsd-net@freebsd.org Received: from sasi.com (samar.sasi.com.56.164.164.in-addr.arpa [164.164.56.2]) by hub.freebsd.org (Postfix) with ESMTP id ED1B437B743 for ; Tue, 8 Aug 2000 02:08:41 -0700 (PDT) (envelope-from gbnaidu@sasi.com) Received: from samar (sasi.com [164.164.56.2]) by sasi.com (8.9.3/8.9.3) with SMTP id OAA09908 for ; Tue, 8 Aug 2000 14:39:40 +0530 (IST) Received: from pcd75.sasi.com ([10.0.16.75]) by sasi.com; Tue, 08 Aug 2000 14:39:39 +0000 (IST) Received: from localhost (gbnaidu@localhost) by pcd75.sasi.com (8.9.3/8.9.3) with ESMTP id OAA09747 for ; Tue, 8 Aug 2000 14:39:26 +0530 Date: Tue, 8 Aug 2000 14:39:25 +0530 (IST) From: "G.B.Naidu" To: freebsd-net@FreeBSD.org Subject: divert rule in ipfw... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I have a ipfw rule like this: ipfw add divert natd all from any to any via de0 This will divert all packets to natd. But I would like to divert all packets except the packets generated from the machine say 10.0.16.63 where the natd is running. For this I tried to use some thing like this: ipfw add divert natd not 10.0.16.63 to not 10.0.16.63 via de0 Still looks like it diverts all the packets. Can some body let me know how do I avoid divreting packets generated from the machine where the natd is running. thanks --gb -- Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message