From owner-freebsd-net Mon Dec 9 12:48:10 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 44B8C37B401 for ; Mon, 9 Dec 2002 12:48:08 -0800 (PST) Received: from consult-scs.com (vpn.consult-scs.com [209.172.126.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAB9543E4A for ; Mon, 9 Dec 2002 12:48:07 -0800 (PST) (envelope-from vulture@consult-scs.com) Received: from consult-scs.com (bigv.netvulture.com [192.168.2.2]) (authenticated bits=0) by consult-scs.com (8.12.6/8.12.6) with ESMTP id gB9Km8Mh012126 for ; Mon, 9 Dec 2002 12:48:08 -0800 (PST) Message-ID: <3DF501A7.6030103@consult-scs.com> Date: Mon, 09 Dec 2002 12:48:39 -0800 From: Jonathan Feally User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Re: IPFW References: <9BA04004-0BAF-11D7-B97F-0003936FD19E@ccrle.nec.de> 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 Also - In your second line for ipfw you have the syntax wrong to divert all ip traffic to divert port 5050 ipfw add 1000 divert 5050 ip from any to any where 1000 is the rule # - you may omit the # if you want it to get a rule # automatically - not recomended when other rules are in use! lower rule #'s get processed before higher's Martin Stiemerling wrote: > > Am Montag den, 9. Dezember 2002, um 18:18, schrieb soheil soheil: > >> Dear ALL >> i run this commands on my 4.4FreeBSD-Release > > > Do you have this line in your kernel configuration file and compiled > into the kernel: > options IPFIREWALL > > see also LINT in /usr/src/sys/i386/conf (if it is an i386) > > Martin > >> #/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 >> >> >> >> >> >> _________________________________________________________________ >> MSN 8 with e-mail virus protection service: 2 months FREE* >> http://join.msn.com/?page=features/virus >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-net" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message