LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Ubuntu (http://www.linuxquestions.org/questions/forumdisplay.php?f=63)
-   -   How NOT to browse Windows network? (http://www.linuxquestions.org/questions/showthread.php?t=4175448698)

proNick 02-05-2013 08:18 AM

How NOT to browse Windows network?
 
Hello,

I have network, mix of Ubuntu 12.04 and Windows XP boxes.

I don't know how to disable browsing shared Windows directories.

I tried to uninstall samba client, and using UFW tried to deny ports 137, 138, 139, and 145 (and restart network and UFW), but somehow I'm still able to browse those Windows shared folders.


Can you help me please how to solve this? Thank you in advance!

MS3FGX 02-05-2013 08:28 PM

So you want to make it so the Ubuntu machine is completely unable to see shared Windows directories?

sag47 02-05-2013 09:32 PM

SMB shares operate over port 445 on Windows so you would need to block outgoing 445 on Linux. Also, Samba is a server but make sure smbclient is gone. You'll want to uninstall the cifs package if you have it installed. What application are you using to browse the shares? It's possible that the specific application you're using has its own built-in SMB client.

proNick 02-07-2013 05:34 AM

@MS3FGX - yes

@sag47 - I'm using Nautilus application to browse the shares


All times are GMT -5. The time now is 10:40 AM.