Security
Keys, passwords, firewalls and keeping a server patched.
Check the Windows Firewall rule for RDP port 12230
Find and verify the inbound TCP 12230 rule that lets Remote Desktop reach your RunRacks server, recreate it if it was deleted and scope it without locking yourself out.
- Intermediate
- Windows VPS · Admin RDP
- 5 min read
Linux Security: Using aide for File Integrity Monitoring on VPS
AIDE builds a checksum database of your system files and reports anything that changed. This guide installs it, creates a baseline, tunes the rules and schedules daily checks on a Linux VPS.
- Advanced
- Linux VPS
- 6 min read
iptables basics: list, allow, drop and save rules
Learn how iptables chains and rule order work, then build a small ruleset that allows SSH and web traffic, drops everything else and can be edited by line number.
- Intermediate
- Linux VPS
- 6 min read
RDP Hardening: Using Local Security Policy to Limit User Rights
Restrict what RDP users can do on a Windows VPS by editing user rights in Local Security Policy — who may log on remotely, who holds admin rights, and which dangerous privileges stay with Administrators only.
- Intermediate
- Windows VPS · Admin RDP
- 6 min read
Windows Server File Integrity Monitoring: Audit File System Changes
Enable Windows file system auditing, attach SACLs to critical files and folders, and read Event ID 4663 so you can see exactly who changed what on your server.
- Intermediate
- Windows VPS
- 7 min read
Migrate iptables rules to nftables
Move an existing iptables firewall to native nftables. Check whether you run iptables-nft or legacy, export with iptables-save, translate the rules, test them and switch the boot service.
- Advanced
- Linux VPS
- 5 min read
Proactive Patch Management: Automating Security Updates on Linux VPS
Set up unattended-upgrades and dnf-automatic so security patches install themselves, then control reboots, package holds and logging so nothing breaks.
- Intermediate
- Linux VPS
- 6 min read
Save Remote Desktop credentials safely (and remove them)
See where Remote Desktop stores saved logins, when saving them is reasonable, why it is risky on shared computers, and how to list and delete saved entries with cmdkey.
- Beginner
- Windows VPS · Admin RDP
- 5 min read
Advanced Windows Firewall: Blocking Specific Application Executables
Windows Firewall can filter by executable path, not only by port. This guide shows how to block a specific program inbound and outbound with PowerShell, and how to verify the rule.
- Intermediate
- Windows VPS
- 5 min read
Write firewalld rich rules for IP-based access
Use firewalld rich rules to open a port to one IP, rate-limit new connections, and log or reject traffic. Covers runtime vs permanent rules and how to list and remove them.
- Advanced
- Linux VPS
- 5 min read
Combining Fail2ban with UFW and firewalld for Layered Defense
Fail2ban bans IPs with its own rules by default. Point its ban actions at UFW or firewalld so every ban lands in the firewall you already manage and audit.
- Advanced
- Linux VPS
- 5 min read
Install a trusted TLS certificate for Remote Desktop
Replace the self-signed Remote Desktop certificate with a CA-issued one, bind it to the RDP listener with PowerShell, connect by hostname on port 12230 and plan renewals.
- Advanced
- Windows VPS
- 5 min read
Configure Fail2ban jails: bantime, findtime and maxretry in jail.local
Set up Fail2ban properly with a jail.local file. Tune bantime, findtime and maxretry, enable incremental bans, whitelist your own IP and pick the right log backend.
- Intermediate
- Linux VPS
- 5 min read
RDP warning "The identity of the remote computer cannot be verified" explained
Why Remote Desktop warns about a self-signed certificate when you connect to IP:12230, how to check the thumbprint, trust it once, and when the warning is a red flag.
- Beginner
- Windows VPS · Admin RDP
- 5 min read
Use Fail2ban with firewalld or nftables ban actions
Make Fail2ban put its bans into the firewall your server really uses. Set banaction to firewalld rich rules or nftables, check the distribution defaults and confirm bans in the live ruleset.
- Intermediate
- Linux VPS
- 5 min read
Delete, insert and reorder UFW rules safely
List UFW rules by number, delete them by number or by rule text, insert a rule at a set position and reset UFW without cutting off your own SSH session.
- Beginner
- Linux VPS
- 6 min read
Malware Scanning on Linux: Rootkit Detection and System Integrity Checks
Install rkhunter, chkrootkit and AIDE on your Linux VPS to detect hidden rootkits, trojaned binaries and unauthorised file changes before they spread.
- Intermediate
- Linux VPS
- 7 min read
Linux Incident Response: Log Preservation and Analysis on a VPS
Capture auth.log, syslog and the systemd journal from a Linux VPS during a security incident, hash the copies so they cannot be disputed, and read them to rebuild an attacker timeline.
- Advanced
- Linux VPS
- 4 min read
VPS security for traders
Keep your trading VPS safe: one login per person, investor passwords for sharing, 2FA where offered, a locked-down RDP and careful installs.
- Beginner
- Admin RDP · Windows VPS
- 3 min read
Block thousands of IPs with firewalld ipsets
Create a hash:net ipset in firewalld, load a blocklist file into it, attach it to the drop zone and update entries later without rebuilding your whole firewall.
- Advanced
- Linux VPS
- 5 min read
Linux Firewall: Using nftables to Drop Malformed Packets and Attack Vectors
Build nftables chains that drop malformed packets, invalid conntrack states and common scan patterns before they reach your services, then verify the counters.
- Advanced
- Linux VPS
- 7 min read
Change your Windows server password safely
Two safe ways to change the password on a Windows VPS or Admin RDP, how to test it without locking yourself out, and what to update afterwards.
- Beginner
- Windows VPS · Admin RDP
- 2 min read
Set up SSH keys
Create an SSH key pair, add it to your Linux VPS from macOS, Linux or Windows, and optionally switch off password logins safely.
- Intermediate
- Linux VPS
- 2 min read
Malware Scanning: Integrating Virus Scans into Automated Update Cycles
Wire malware scanning into your update cycle so every security patch is followed by a virus scan. Covers ClamAV on Linux and Defender on Windows.
- Intermediate
- All
- 7 min read
Linux Firewall: Using iptables to Implement Connection Tracking Limits
Cap new and simultaneous connections on a Linux VPS with iptables conntrack, limit, connlimit and hashlimit rules, and size the conntrack table so it does not fill up.
- Advanced
- Linux VPS
- 7 min read
Change the Remote Desktop port safely
Open the new port in Windows Firewall first, change the RDP port in the registry, restart the service and connect on the new port.
- Intermediate
- Windows VPS · Admin RDP
- 2 min read
Allow log on through Remote Desktop: user rights explained
How Windows decides who may sign in over Remote Desktop, from the Remote Desktop Users group to deny rights that override every allow, and how to fix "not authorized for remote login".
- Intermediate
- Windows VPS · Admin RDP
- 5 min read
RDP Hardening: Preventing Privilege Escalation via Group Policy
Use Group Policy to cut the privilege escalation paths inside Remote Desktop sessions — restrict RDP logon rights, strip dangerous user rights and force UAC to deny elevation.
- Advanced
- Windows VPS · Admin RDP
- 7 min read
Linux Security: Hardening the sudoers File for Least Privilege
Restrict sudo to the exact commands each administrator needs. Write safe sudoers drop-in files, validate them with visudo and keep an audit trail of privileged commands.
- Advanced
- Linux VPS
- 6 min read
Stop Docker from bypassing your UFW firewall
Docker-published ports skip UFW rules and stay open to the internet. Learn why it happens, how to bind ports to 127.0.0.1, how to filter with the DOCKER-USER chain and how to test from outside.
- Advanced
- Linux VPS
- 6 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