heres how I close ports, but I dont think this will work for you.


/sbin/iptables -A INPUT -p UDP --dport 139 -j REJECT
/sbin/iptables -A INPUT -p TCP --dport 139 -j REJECT

btw, I found...