PDA

View Full Version : Samba/Firewall Problem


sc00by
2004-05-30, 07:05 AM CDT
I thought samba was not working but it turns out it was my firewall.

If i try and access a samba share from a WinXP machine I receive the error that it cannot be accessed. If i enter iptables -F; at an SSH prompt it starts working.

I have opened the ports that samba uses in the firewall but I still have to enter iptables -F;

Thats fine for me but as soon as the Linux box gets a reboot then its blocked again until someone typed in iptables -F; into a prompt.

What do I configure to get it to either do that itself or to accept samba requests??

Thanks
John :confused:

Jman
2004-05-30, 10:47 AM CDT
I think if you allow ports 137 to 139 through it will work.

Consider installing the Firestarter (http://www.fedoraforum.org/forum/showthread.php?s=&threadid=1435) graphical firewall tool, running the wizard, and checking the samba service box.

vinu
2004-06-06, 03:46 PM CDT
You need to open ports 137,128 and 139 for windoze 95/98/2000 and 445 for winXP.