Comment 0 for bug 1722035

Revision history for this message
Jose Ortiz (joseortiz3) wrote : Firewall blocks samba access to "Windows Network" with SAMBA ports full open

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 this, but it didn't seem to change anything. Neither module was in my IPT_MODULES by default.