[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Blocking SMB



On Mon, 25 Feb 2002, Charlie Grosvenor wrote:

>     I am in trying to set up firewall on a machine running debian. What i
> want to do is to block people browsing smb shares on my network from
> outside. How can i do this? What ports does smb use?

According to /etc/services, 137,138, and 139 TCP and UDP.

You can also find out what ports are open on a machine by using netstat(8),
lsof(8) or fuser(1).


-- 
-----------------------------------------------------------------------
#include <disclaimer.h>
Matthew Palmer
mjp16@ieee.uow.edu.au



Reply to: