Jessica CHEN Joy and Loneliness CATEGORIES TIMEMACHINE TAGS GEMS

CentOS Security

[ server  ]

As I’ve subscribed to a new VPS recently, I then configured the server again. Fortunately, there’s plenty of resources over the Internet, for further use, I write them down.

  1. Hardening CentOS

http://wiki.centos.org/HowTos/OS_Protection

  1. Securing SSH

http://wiki.centos.org/HowTos/Network/SecuringSSH

  1. Clear Shell History on Your Screen When You Logout

http://www.cyberciti.biz/tips/howto-clear-screen-when-you-logout.html(If this article can’t answer your question, the comments probably could)

  1. IPTables

http://wiki.centos.org/HowTos/Network/IPTables If there’s other services on your server, like vpn,ftp,etc., you should configure the iptables to allow them, since you set DROP as your default policy. The above are the most basic.