CrowdSec vs Fail2ban: Which Brute-Force Protection Fits a Small VPS?

crowdsec vs fail2ban

Every VPS with SSH open to the internet gets probed. Within hours of putting a fresh server online, the auth log fills with login attempts from bots trying common usernames and weak passwords. The question is not whether to block them, but which tool to use. This crowdsec vs fail2ban comparison looks at both from … Baca Selengkapnya

How to Audit SSH Logins on Your VPS with Lastlog and Journalctl

audit ssh logins

Every SSH login leaves a trace. The question is whether anyone ever looks at it. When you audit SSH logins on your VPS, you find out who connected, when, from where, and whether anyone tried and failed. Most VPS owners never check until something breaks or a bill spikes. By then the evidence is gone … Baca Selengkapnya

How to Audit Who Logged Into Your VPS and Spot Suspicious Logins

audit who logged into your vps

Every login to your VPS leaves a trace. The problem is that most owners never look at those traces until something breaks. If you audit who logged into your VPS on a regular schedule, you catch a stranger’s session while it is still one login instead of a full breach. This guide covers the commands … Baca Selengkapnya

How to Secure phpMyAdmin on Your VPS Without Breaking Access

secure phpmyadmin on your vps

phpMyAdmin is convenient, and that is exactly why bots love it. If your login page sits at the default address with the root account enabled, automated scanners will find it and keep trying passwords around the clock. Learning how to secure phpMyAdmin on your VPS is not about one magic setting. It takes a few … Baca Selengkapnya

How to Set Up UFW Firewall Rules That Do Not Lock You Out of Your VPS

ufw firewall rules vps

Setting up ufw firewall rules vps owners can trust starts with one habit: allow SSH before you switch the firewall on. UFW, short for Uncomplicated Firewall, is the front end for iptables that ships with Ubuntu. It does exactly what you tell it to do, and that includes blocking your own SSH session if you … Baca Selengkapnya

How to Block Bad Bots on Your VPS with Nginx Rate Limiting

block bad bots with nginx

Bad bots eat bandwidth, hammer your login pages, and scrape your content around the clock. On a small VPS, a single aggressive crawler can push CPU and memory high enough that real visitors get slow pages or errors. The fix does not need a paid firewall or a plugin. You can block bad bots with … Baca Selengkapnya

How to Set Up Two-Factor Authentication for SSH on Your VPS

two-factor authentication for ssh

How to Set Up Two-Factor Authentication for SSH on Your VPS A password alone is a weak lock on your server. Bots probe SSH on every VPS, trying common passwords around the clock, and one guessed password hands them a shell. Setting up two-factor authentication for ssh adds a second check: even with the right … Baca Selengkapnya

How to Create a Read-Only MySQL User for Your WordPress Backups

read-only mysql user for wordpress

How to Create a Read-Only MySQL User for Your WordPress Backups Most WordPress sites back up their database with the same MySQL user the site itself uses. That user can read, write, and change anything, so a backup script that gets hijacked or runs a bad command can wipe the whole database. A read-only MySQL … Baca Selengkapnya

How to Set Up a Personal VPN WireGuard VPS in 15 Minutes

personal vpn wireguard vps

How to Set Up a Personal VPN WireGuard VPS in 15 Minutes Public Wi-Fi is a bad place to send your traffic in the clear. A personal vpn wireguard vps setup fixes that: your phone or laptop connects to a server you control, and everything between the two is encrypted. WireGuard is the simplest tool … Baca Selengkapnya