Blacklist all, whitelist two countries
I've been reading some horror stories about people getting cracked and played with. I would really like to avoid this.
I would like to have remote SSH access to my computer, but I don't want anyone else to have it. Nothing is secure, but at least I can narrow it down.
Basically, I want no computers to have access to mine anywhere in the world, EXCEPT for computers in Uruguay and Argentina. So I guess that would involve blacklisting the world and whitelisting these two countries. I guess that this would narrow down the hacking possibilities.
Can anyone teach or link me how to do this?
Also, how do I dissallow root SSH access?
Edit: If someone can explain how to change the SSH port and what port I should put it in, that would be great too. Thanks!
Last edited by daiver; 04-30-2006 at 12:19 PM.
|