I turned SAMBA on on venus, but I could not see venus folders on jupiter, my Windows XP computer. The problem was that iptables on venus was not allowing the samba packets thru. I went to the system menu in Fedora 6, then chose "administration", then chose "security level & firewall" then checked the box next to samba to make it a trusted application.
The following lines in iptables apparently allow samba to work:
ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-ns
ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-dgm
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:netbios-ssn
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:microsoft-ds
Samba has 2 parts: smbd and nmbd. The ports that samba apparently uses are:
137 udp - NETBIOS name service
138 udp - NETBIOS datagram service
139 tcp - NETBIOS session service
445 tcp - Microsoft-DS (directory services)
No comments:
Post a Comment