After I set up iptables INPUT policy to DROP on my desktop, my samba client there stoped working. I can understand that the samba server has to have some incoming ports opened, but why does client need it? And what ports does it need? All the advice I can find regarding firewall ports and samba are for server - does it apply to client too?
If I set INPUT policy to ACCEPT, then samba client is working again, so the problem has to be in the iptables config and also everything else on the desktop seems to be working ok. My relevant iptables settings:
-A INPUT -i lo -j ACCEPT
-A INPUT -d 127.0.0.0/8 ! -i lo -j REJECT --reject-with icmp-port-unreachable
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p icmp -j ACCEPT