I want to be able to access a shared folder on a windows 8 computer from my Linux computer. Everything works fine when Ufw is turned off, but as soon as I enable the firewall it won't work.
How do I find out which ports I need to open in Ufw to get it to work?
Please note that yes, there are many posts about how to solve this problem by opening ports and which those ports are, but my question is how I can find out which ports to open.
sudo netstat -tulpn | egrep "samba|smbd|nmbd|winbind"
I don't get any output :( – PetaspeedBeaver Apr 02 '20 at 17:04gufw
as it gives you a GUI interface for theufw
and allows you to choose apps that have all the ports pre-chosen.sudo apt install gufw
– Terrance Apr 02 '20 at 17:44