Need a little help with UFW firewall rules.

Hi all. New Raspberry 2B owner here. I don’t quite understand how to set up a rule in UFW to allow my Raspberry to access the music folder on my Linux PC . I have used Samba and made a share but I can’t get past the firewall. The specific problem that i am having is understanding what port to put in the rule. My Raspberry is 192.168.6.4 on my network but what port do I specify in the rule? BTW. When I turn off the firewall My Raspberry can see the folder just fine. Thanks.

Gavin

you need to allow samba in UFW, this is probably denied by default.
I cant explain it better than the people here have http://ubuntuforums.org/showthread.php?t=806000

And dont forget to take a look here in the ubuntu community for a complete, detailed look at UFW https://help.ubuntu.com/community/UFW

UFW is disabled by default on Ubuntu.

TCP port 445 is enough