Hi!
Thanks for this guide, but I followed your instructions, as well as some other suggestions I found elsewhere such as installing smbnetfs,opening ports 137-139 and 445 on my firewall, adding: "name resolve order = host wins bcast lmhosts" and "WINS support = yes" to my smb.conf, and others, to absolutely NO avail.
Nothing worked. After HOURS of googling and reading through forums, I found a solution, and I am posting it here in case it can save somebody else from HOURS of work. Perhaps you could add it to your guide?
Adding nf_conntrack_netbios_ns to IPT_MODULES in /etc/default/ufw
solved my problem and I can now properly resolve netbios hostnames.
That is change:
# extra connection tracking modules to load
IPT_MODULES="nf_conntrack_ftp nf_nat_ftp nf_conntrack_irc nf_nat_irc"
to:
# extra connection tracking modules to load
IPT_MODULES="nf_conntrack_ftp nf_nat_ftp nf_conntrack_irc nf_nat_irc nf_conntrack_netbios_ns"
Thanks! Regards!
Bookmarks