Hello everyone, Thank you for the answers, True, I didnot use the full path for ipfw in my script. when I added to the script /sbin/ipfw RULE_HERE everything works great. I thought it will regonize the command ipfw by it self. well it didnot :) Thank you again marty, nathan, Ion and all this list helpful users. -- Marwan Sultan