How to block all ports and then selectively enable ports? Key-authentication 22
When I use netstat to list ports, I don't see direct ports such as port 22, port 80, etc... I did see 80 but I also see a bunch of others with really high numbers like... well what is I-node?
From a page from my server provider I am told that by default these are the open ports: 21,22,23,25,53,80,110,143,443,10000 so I guess I don't have to block?
I'm just not sure really. I don't believe that I use SMTP, not yet anyway.
A secondary question is using key-based authentication of port 22, my concern is that I have a dynamic ip-address although I'm not sure if that is relevant. Does the 192. ip address change? Or is it only the public ip such as 72 which is what I see when I type in Google "What is my ip address"
Thanks for any help
|