Verified and Tested 02/05/15

Introduction

This tutorial will provide you some basic steps to help you lock down and secure your Cloud Linux VPS with Atlantic.Net. By no means do these steps have to be used in order nor do you have to use all of the steps. They are recommendations on securing your server through simple means that take just a little of your time to set up or configure.

Prerequisites

For this tutorial, all that’s pre-required is that you have a Linux VPS with Atlantic.Net.

Securing your Linux Cloud server or VPS

Changing the SSH Port

Changing your SSH Port in CentOS

Changing your SSH Port in Ubuntu and Debian

 

Let’s Limit the root User         

Limiting Your root User in CentOS

Limiting Your root User in Ubuntu and Debian

 

IPTables          

Locking down your CentOS server with IPTables

Locking down your Ubuntu or Debian server with IPTables

IPTables in General

 

Let’s get those Brute Forcers! Using fail2ban         

Basic Use of fail2ban in CentOS

Basic Use of fail2ban in Ubuntu and Debian