[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

is it rational to close the 139 port


strangely my netstat showed my 139 and 445 ports are open.

tcp        0      0   *               LISTEN
tcp        0      0   *               LISTEN

Do I need specify

-A INPUT -p tcp --dport 139 -j REJECT

in iptables?

For all INPUT has already set -P INPUT DROP, except open for  80, 443, 22,

BTW, why need allow ping? from outside?
 59 # Allow ping
 60 -A INPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT

I know so little, thanks very much for your expilanation,

Best regards,

Reply to: