GUFW - SAMBA - Windows 7 Shares

Joined
Apr 22, 2015
Messages
758
Having the GUFW (Linux Mint Fire Wall) enabled, does not allow me to view my windows 7 shares. I thought it was a SAMBA issue, but after I disabled the firewall, I was able to see my windows 7 shares.

Since I have now turned the firewall off, how can I enable it, and have it ignore my Windows 7 shares?

I'm using Linux Mint 18.3 Cinnamon x64.
 
Samba runs on TCP ports 139 and 445 and UDP ports 137 and 138. If you want to run a Samba server, the firewall on that box would need to be open to allow those ports in.

So simply run sudo ufw allow tcp 139,445 and sudo ufw allow udp 137,138 and you're done.
 
Samba runs on TCP ports 139 and 445 and UDP ports 137 and 138. If you want to run a Samba server, the firewall on that box would need to be open to allow those ports in.

So simply run sudo ufw allow tcp 139,445 and sudo ufw allow udp 137,138 and you're done.

+1
 
Back
Top