From owner-freebsd-net Wed Dec 11 23:24:46 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7057837B401 for ; Wed, 11 Dec 2002 23:24:45 -0800 (PST) Received: from mailf.telia.com (mailf.telia.com [194.22.194.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7118B43EB2 for ; Wed, 11 Dec 2002 23:24:44 -0800 (PST) (envelope-from listsub@401.cx) Received: from 401.cx (malin.twenty4help.se [195.67.108.195]) by mailf.telia.com (8.12.5/8.12.5) with ESMTP id gBC7OgKs009695; Thu, 12 Dec 2002 08:24:42 +0100 (CET) X-Original-Recipient: freebsd-net@FreeBSD.ORG Message-ID: <3DF83968.5060000@401.cx> Date: Thu, 12 Dec 2002 08:23:20 +0100 From: "Roger 'Rocky' Vetterberg" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: soheil soheil Cc: freebsd-net@FreeBSD.ORG Subject: Re: IPFW References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org soheil soheil wrote: > Dear ALL > i run this commands on my 4.4FreeBSD-Release > #/sbin/ipfw -f flush > #/sbin/ipfw divert 5050 ip from any to any > it runs the first command and say no socket found > and then when i run the second line it write the words for help and > nothing is applied > what can i do ? > I have a divert socket on port 5050 i want to divert all of the packet > to it > thanx > First of all, I think this belongs to -question. Are you sure you have ipfw in your kernel? The "no socket" error is usually due to not having it in the kernel or not loading the module. The second error is a syntax error. Try #/sbin/ipfw add divert 5050 ip from any to any -- R To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message