Yeah, I found that out. After I sent the email something just clicked in 
my head and I got it. Thanks.

For those wondering I used the command:

  ipfwadm -F -a deny -P udp -S 192.168.2.0/24 137:138 -D 0.0.0.0/0 

-Bob


>You need to specify whether it should be blocking TCP or UDP protocols
>at that port.
>
>On Wed, Nov 17, 1999 at 01:25:40PM -0400, Robert Burton wrote:
>> Hello all,
>> 
>> I'm trying to not have Netbios calls go through my IP Masquerading 
>> server, but am getting an error with the command I'm trying, and the man 
>> page didn't help me much.
>> 
>> The command Im trying is:
>> 
>>   ipfwadm -F -a deny -S 192.168.2.0/24 137 -D 0.0.0.0/0   
>> 
>> and the error I get is:
>> 
>>   ipfwadm: no ports allowed without specific protocol
>>   Try `ipfwadm -h' for more information.
>> 
>> Am I specifying the port incorrectly? I also tried 137:139.
>> 
>> Thanks fior any help.
>> 
>> -Bob
>> 
>> 
>> 
>> Other info:
>> 
>> - from using 'ipfwadm -M -l -n"
>> IP masquerading entries
>> prot expire   source               destination          ports
>> udp  04:39.18 192.168.2.15         xxx.xxx.xxx.xxx         137 (62150) -> 
>> 53
>> 
>> - from /etc/services
>> netbios-ns      137/tcp         nbns
>> netbios-ns      137/udp         nbns
>> netbios-dgm     138/tcp         nbdgm
>> netbios-dgm     138/udp         nbdgm
>> netbios-ssn     139/tcp         nbssn
>> 
>> 
>> -- 
>> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
>> as the Subject.
>> 
>
>-- 
>J. Scott Kasten
>
>jsk AT tetracon-eng DOT net
>
>"That wasn't an attack.  It was preemptive retaliation!"
>
>
>-- 
>To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
>as the Subject.


----------------------------------------------------------------
"I wrote an ad for Apple Computer: 'Macintosh - We might not get 
everything right, but at least we knew the century was going to
end.'" (Author Douglas Adams, on the Y2K problem) 

-from http://www.13idol.com/mac/macfacts.html
----------------------------------------------------------------


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to