Firewall blocks browsing "Windows Network" with samba ports full open

Bug #1722035 reported by Jose Ortiz on 2017-10-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gufw
Undecided
Unassigned

Bug Description

I am new to Linux, so please let me know if something I say doesn't make sense.

With a sensible configuration (opening seemingly correct ports), I find that ufw (under the GUI gufw) blocks access my Samba-based resources, at least from the "file explorer" in Linux Mint. In the file explorer, I click on "Network" and see "Windows Network". Without firewall, I click on "Windows Network", and I see a list of all the windows clients and samba clients on my network. I can explore them, mount them, etc, no problem.

With firewall, I click on "Windows Network" and I see nothing.

My relevant ports are open both ways to/from anywhere. gufw shows me this:
135 tcp both-ways anywhere
137 udp both-ways anywhere
138 udp both-ways anywhere
139 tcp both-ways anywhere
445 tcp both-ways anywhere
135 (v6) tcp both-ways anywhere
137 (v6) udp both-ways anywhere
138 (v6) udp both-ways anywhere
139 (v6) tcp both-ways anywhere
445 (v6) tcp both-ways anywhere

Below shows a similar problem, but the bug was reported as fixed.
(reported fixed) https://bugs.launchpad.net/ubuntu/+source/ufw/+bug/360975
It says:
"Please add nf_conntrack_pptp and nf_conntrack_netbios_ns to IPT_MODULES in /etc/default/ufw by default."

I tried the above "fix", but it didn't seem to change anything.

smbclient -L <server_name> seems to show the same information that supposed to be shown in the file explorer, and is not affected.

Jose Ortiz (joseortiz3) on 2017-10-10
summary: - Firewall blocks samba access to "Windows Network" with SAMBA ports full
- open
+ Firewall blocks browsing "Windows Network" with samba ports full open
description: updated
Jose Ortiz (joseortiz3) on 2017-10-10
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers