Security
Keys, passwords, firewalls and keeping a server patched.
UFW and IPv6: make sure your rules cover both
Check that UFW filters IPv6 as well as IPv4. Set IPV6=yes, read the (v6) rules in ufw status, allow or deny IPv6 sources and test your server from outside with nmap -6.
- Intermediate
- Linux VPS
- 5 min read
Restrict RDP port 12230 to your own IP addresses
Limit the Windows Firewall rule for RDP port 12230 to the IP addresses you connect from, so bots elsewhere cannot even reach the login screen.
- Intermediate
- Windows VPS · Admin RDP
- 5 min read
Block an IP address or subnet with UFW
Block single IP addresses and whole CIDR ranges with ufw deny, place deny rules above your allow rules so they actually work, find attacking IPs in your logs and unblock them later.
- Beginner
- Linux VPS
- 5 min read
Create a backup administrator account on your server
Add a second administrator account with its own strong password, so a lockout, a forgotten password or a broken profile does not cut you off from your Windows server.
- Beginner
- Windows VPS · Admin RDP
- 4 min read
Windows Update on a VPS: patches and maintenance windows
Install Windows updates, set active hours, plan a weekly maintenance window and make sure your programs come back after a restart.
- Beginner
- Windows VPS · Admin RDP
- 2 min read
UFW vs firewalld vs nftables vs iptables: which Linux firewall to use
UFW, firewalld, nftables and iptables are not four rival firewalls. Learn how they fit together, what each distro uses by default and how to pick one tool for your VPS.
- Beginner
- Linux VPS
- 5 min read
Linux Update Strategy: Testing Security Patches Before Production
Build a Linux update strategy that tests security patches on a staging server first, then promotes them to production with a canary rollout and a rollback path.
- Advanced
- Linux VPS
- 6 min read
Windows Server: Implementing Auditing Policies to Track Security Events
Configure Advanced Audit Policy subcategories on a Windows VPS to record logons, privilege use and file access, then read those events in the Security log.
- Intermediate
- Windows VPS
- 7 min read
RDP Hardening: Preventing Session Hijacking on Port 12230
Session hijacking on RDP is usually a permissions problem, not a network one. This guide closes off both paths so nobody can take over an active or disconnected Remote Desktop session on port 12230.
- Advanced
- Admin RDP · Windows VPS
- 7 min read
Malware Scanning on Linux: Configuring ClamAV for Web Root Protection
Install ClamAV on a Linux VPS, tune it for large web directories, scan your web root for malware and schedule daily scans with a systemd timer.
- Intermediate
- Linux VPS
- 7 min read
Network Hardening: Monitoring for Unauthorized Port Scans on the VPS
Learn how to monitor port scans on a VPS, log the source addresses that probe your server, and block repeat offenders automatically on Linux and Windows.
- Intermediate
- All
- 6 min read
Fail2ban False Positive Resolution: Fine-Tuning Jails and Timeouts
Diagnose why Fail2ban banned a legitimate user, then fix it properly by tuning maxretry, findtime, bantime and ignoreip instead of disabling the jail.
- Intermediate
- Linux VPS
- 6 min read
Linux Firewall: Using UFW to Block Specific Source IP Ranges Automatically
Block a source IP range in UFW with one command, then keep a blocklist file and a cron job that re-applies it so new ranges are dropped without manual work.
- Intermediate
- Linux VPS
- 6 min read
Protect Nginx with Fail2ban: bad bots, scanners and auth
Turn on Fail2ban's built-in Nginx jails to ban password guessers, vulnerability scanners and clients that hit your rate limits, then test each filter against your real logs.
- Intermediate
- Linux VPS
- 5 min read
firewalld zones explained: public, trusted, drop and custom zones
Learn what firewalld zones do, how traffic is matched to a zone by interface or source IP, and how to build a custom admin zone so only your IPs can reach SSH.
- Intermediate
- Linux VPS
- 5 min read
Open ports with UFW: single ports, ranges and trusted IPs
Open TCP and UDP ports in UFW, allow port ranges, limit access to one IP or subnet, label rules with comments and confirm everything with ufw status numbered.
- Beginner
- Linux VPS
- 5 min read
Set up a UFW firewall on Ubuntu and Debian
Set safe defaults, allow SSH before switching UFW on, open only the ports you use, limit sensitive ports to your own IP, and tidy up old rules.
- Beginner
- Linux VPS
- 3 min read
Rate-limit SSH and other ports with ufw limit
Use ufw limit to slow down SSH brute-force attempts. Learn how the 6-connections-in-30-seconds rule works, apply it to a custom SSH port, pair it with Fail2ban and test it.
- Beginner
- Linux VPS
- 5 min read
Set a strong password policy on Windows Server
Set minimum length, complexity, history and password age for local accounts with Local Security Policy or net accounts, follow modern passphrase advice and test the change.
- Beginner
- Windows VPS · Admin RDP
- 4 min read
Make iptables rules survive a reboot
iptables rules live in memory and disappear on reboot. Save them with netfilter-persistent on Debian and Ubuntu or iptables-services on AlmaLinux and Rocky Linux.
- Beginner
- Linux VPS
- 5 min read
Linux Hardening: Securing System Binaries with SELinux or AppArmor
Put SELinux or AppArmor into enforcing mode and write a policy that limits what a system binary can do, even if an attacker takes it over.
- Advanced
- Linux VPS
- 5 min read
SSH Hardening: Enforcing Key Rotation Policies for Automated Security
SSH key rotation replaces long-lived credentials before they become a permanent backdoor. This guide covers expiry dates in authorized_keys, a rotation script and auditing.
- Advanced
- Linux VPS
- 5 min read
Advanced UFW rate limiting to prevent brute force attacks
Use ufw limit and custom before.rules entries to cap connection rates on SSH and mail ports, so password-guessing bots get blocked before they can try thousands of logins.
- Intermediate
- Linux VPS
- 6 min read
Windows Firewall: Preventing Unauthorized Incoming Connections on Server Roles
Review the inbound rules that Windows server roles add, then replace broad allow rules with scoped ones so only the hosts that need a service can reach it.
- Intermediate
- Windows VPS
- 6 min read
Local Security Policy basics on Windows Server
A guided tour of secpol.msc on a standalone Windows server, covering password and lockout policy, user rights, audit policy and security options, plus how to back up settings with secedit.
- Intermediate
- Windows VPS · Admin RDP
- 5 min read
SSH Hardening: Auditing and Limiting Shell Access for Service Accounts
Audit every Linux account that has a login shell, move service accounts to nologin, and restrict SSH with AllowGroups and Match blocks so only people who need a session get one.
- Advanced
- Linux VPS
- 6 min read
SSH Hardening: Mitigating Man-in-the-Middle Attacks with Host Key Verification
SSH host key verification makes your client confirm the server's identity before you send credentials. This guide shows how to read fingerprints, verify them out of band, pin them in known_hosts and rotate host keys without locking yourself out.
- Intermediate
- Linux VPS
- 6 min read
nftables: Complex Rule Chaining for Stateful Traffic Filtering
Build a stateful nftables input filter on a Linux VPS: connection tracking with ct state, jumps into named chains, and verdict maps for fast lookups.
- Advanced
- Linux VPS
- 6 min read
SSH Hardening: Auditing and Restricting Authorized Keys for Critical Services
Find every authorized_keys file on your Linux VPS, validate each key, and apply strict per-key restrictions so only the access you intend is possible.
- Intermediate
- Linux VPS
- 6 min read
Windows Server: Enable Network Level Authentication (NLA) on RDP
Network Level Authentication makes a client prove the user's credentials before Windows builds a Remote Desktop session. Enable NLA with the GUI, PowerShell or Group Policy, then verify it on port 12230.
- Intermediate
- Windows VPS · Admin RDP
- 5 min read
Other topics
- Getting startedYour first hour with a new server: access, logins and basics.66 guides
- Linux VPSSSH, packages, services and everyday Linux administration.41 guides
- Windows VPS & RDPRemote Desktop, Windows Server settings and Admin RDP tips.53 guides
- SecurityKeys, passwords, firewalls and keeping a server patched.86 guides
- Networking & DNSIP addresses, reverse DNS, ports and traffic.15 guides
- Control panelscPanel & WHM, Plesk, DirectAdmin and other panels on your VPS.101 guides
- Websites & appsWeb servers, WordPress, PHP, Node.js, SSL and app hosting.44 guides
- DatabasesMySQL, MariaDB, PostgreSQL, Redis and MongoDB on a VPS.56 guides
- Docker & DevOpsContainers, Git deploys, automation, monitoring and backups.55 guides
- Billing & accountInvoices, renewals, the client area and your account.7 guides
- TroubleshootingWhen something is not working: checks and fixes.43 guides