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 [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to