Caleb Cushing's Blog

iptables browsing samba shares

NOTE: this assumes that you’ve read my previous post on basic iptables setup on the desktop

So I just spent the longest time trying to determine what ports I needed to browse and use samba shares. The sad answer is it’s just one.


iptables -A INPUT -p udp –sport 137 -j ACCEPT


the catch with all the information I found with google was that most of it was for samba servers. I didn’t want that. I just want to be able to browse my roommates network shares, and download from them. None of the information google provided suggested I need to allow the source port on the other end.


Share

comments powered by Disqus