From: "atul garg" Subject: Re: Re: blocking netbios traffic using iptables Date: 1 May 2003 04:37:08 -0000 Sender: linux-admin-owner@vger.kernel.org Message-ID: <20030501043708.21795.qmail@webmail26.rediffmail.com> Reply-To: "atul garg" Mime-Version: 1.0 Return-path: Content-Disposition: inline List-Id: Content-Type: text/plain; format=flowed; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Mikel Bauer Cc: linux-admin@vger.kernel.org, jean@completo.com.br I have tried blocking 137:139 tcp/udp ports. but it doesn't seem to work.. im trying the rules iptables -A OUTPUT -o eth0 -p tcp --dports 137:139 -j DROP iptables -A OUTPUT -o eth0 -p udp --dports 137:139 -j DROP actually I am running a win2k virtual machine inside a linux box.. and all i want is that vm shouldn't be able to locate other windows machines on the network by their name. atul On Tue, 29 Apr 2003 Mikel Bauer wrote : >or aka: >137 tcp >137 udp >138 udp >139 tcp > >and if you wanted to get picky, you could block active directory >rpc calls with 135 tcp > >-- Mikel Bauer >406/586-1102 >mikel@bridgeband.net > >Jean M. Bouchara wrote: >>>Hi.. >>>can i block netbios traffic using iptables. if yes, how.. >>> >>>thanks, >>>atul >> >> >>Just drop the packets to/form the following ports: >> >>- netbios-n >>- netbios-dgm >>- netbios-ssn >>- microsoft-ds >>- wins >> >> >>> >>> >>> >>> >>>- >>>To unsubscribe from this list: send the line "unsubscribe linux-admin" >>>in the body of a message to majordomo@vger.kernel.org >>>More majordomo info at >>>http://vger.kernel.org/majordomo-info.html >> >> >> > >- >To unsubscribe from this list: send the line "unsubscribe linux-admin" in >the body of a message to majordomo@vger.kernel.org >More majordomo info at >http://vger.kernel.org/majordomo-info.html