I have samba installed but it opens ports 139 and 445 when I start it up. I tried using ufw rules (sudo ufw deny 139) but that didn't do anything.
I then tried an iptables rule (iptables -A INPUT -i ppp0 -p tcp --dport 139 -j DROP) and when I do a portscan from outside my network using "nmap -sS" it says those two ports are now 'filtered'. I'm not sure what 'filtered' means.
Anyone know how to close the port or tell samba not to open those ports when it starts up. I want those ports open to my home network but not to the world.
P.S. I am using Ubuntu Server 12.04 LTS