New Customers: 50% OFF Your First Month on All VPS Servers & Web Hosting Plans!
Playbooks

Harden your Linux VPS in an afternoon

A baseline you can finish in an afternoon: SSH, firewall, fail2ban, automatic updates, logs, and knowing when something is wrong.

You end up withA server with a sensible security baseline, and alerts when it misbehaves
Written forAnyone who has just been handed root on a server facing the internet
Steps8 of 8 written, about 64 minutes
  1. 1
    The first hour on a new server

    “What should I do first on a brand new server?”

    8 min read
  2. 2
    SSH keys and turning off password login

    “How do I stop people brute forcing my SSH password?”

    7 min read
  3. 3
    Firewall rules that will not lock you out

    “What firewall rules do I actually need?”

    7 min read
  4. 4
    fail2ban and automatic security updates

    “How do I block repeat attackers automatically?”

    8 min read
  5. 5
    Reading your server logs when something looks wrong

    “Something is wrong with my server. Which logs do I look at and what am I looking for? Cover journalctl and the files under /var/log, which log answers which question, how to follow a log live, and how to tell a real problem from the normal noise of a server on the public internet.”

    9 min read
  6. 6
    What DDoS protection covers, and what it does not

    “What does the DDoS protection on my VPS actually do? Explain in plain terms what volumetric filtering stops, what it cannot stop such as application level floods and a badly written script hammering your own database, and what you still have to do yourself. Note that the protection is on the UK rang”

    8 min read
  7. 7
    Setting up an alert for when your server goes down

    “How do I find out my server is down before my customers tell me? Cover free external monitoring, what to monitor beyond a ping, checking disk space and certificate expiry before they become an outage, and where to send the alert so it actually wakes you.”

    8 min read
  8. 8
    How to tell if your server has been compromised

    “How do I know if someone has got into my server?”

    9 min read

Need a server to follow along on?

Linux VPS in London and New York. No minimum term, and 30 days to change your mind.

See VPS plans Browse all guides