[K12OSN] re: NAT not starting on bootup

Daniel Loomis drloomis at cox-internet.com
Tue Mar 14 02:14:19 UTC 2006


Petre,

Your problem with Windows and samba shares suggests that you have not 
opened ports 137, 138 & 139 for tcp and udp traffic. The following is 
what I have on my K12LTSP 4.2.1 server and samba shares are all 
accessible from Windows pcs.

-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 137 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 138 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 139 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 137 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 138 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 139 -j ACCEPT

With the above added to your /etc/sysconfig/iptables file you should not 
have to turn it off to access smb shares.

Dan




More information about the K12OSN mailing list