How will they communicate, netbios is a bridging protocol , were are not
bridging here, we are routing. Please explain how they will be able to
communicate with each other?

-----Original Message-----
From: Maciej Soltysiak [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, April 20, 2002 5:14 AM
To: Brian
Cc: 'Arindam Haldar'; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Windows networking

> You can stop a peer to peer , just block tcp and udp port's 137 - 139
.
> 
> iptables -A INPUT -i eth0 -p udp --dport 137:139 -j DROP
> iptables -A INPUT -i eth0 -p tcp --dport 137:139 -j DROP
> 
> If your policy is accept then use the above
But this blocks netbios incomming to the linux host, peers will still
communicate.

BTW, it's UDP 137:138, and TCP 139. you can optimize a bit your rules.
just a bit. :)

Regards,
Maciej Soltysiak



Reply via email to