Hi all,<br><br>I using Ubuntu since Hoary, and I have never been able to set the firewall the right way wrt Samba. I'm in a local network behind a router/firewall, but I would still like some extra protection. When I use something like guarddog or firestarter to set up my firewall, everything works the way it should, except for windows file sharing: samba.
<br>When I open the ports for samba, or I allow all connections from a certain host, I can use all services but samba.<br><br>Simple example: Machine A (Ubuntu Edgy, firestarter), Machine B (WinXP)<br><br>Machine A: start firestarter (all ports/hosts blocked for incoming connections):
<br>Machine B: cannot access shared folders or secure shell<br><br>Machine A: Firestarter stop firewall<br>Machine B: Can acces shared folders and secure shell<br><br>Machine A: Firestarter start firewall, allow connections from host A, apply policy
<br>Machine B: Cannot acces shared folders but can access secure shell<br><br>How is this possible? Doesn't make a difference if I make the rules more specific.<br><br>