Hello.
I am using IPTABLES to secure my system. I am having a problem blocking the Samba process, can someone please give me a hand?
I am able to block all incoming SSH requests to my linux server by using this command... iptables -A INPUT -p tcp --dport 22 -j REJECT This works fine.
However I am trying to do the same with the samba service. It is running samba, but I want to try and block it from everyone (just a test). I am doing this...
iptables -A INPUT -p tcp --dport 139 -j REJECT
However it still allows me to connect to the samba service and view the shares.
Can someone please tell me what I am doing wrong here?
Thanks alot
Best Regards,
Craig