Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Dec 2002 08:23:20 +0100
From:      "Roger 'Rocky' Vetterberg" <listsub@401.cx>
To:        soheil soheil <soheil_hh@hotmail.com>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: IPFW
Message-ID:  <3DF83968.5060000@401.cx>
References:  <F91GSvR3jMVRHUbgVmn000272e8@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DF83968.5060000>