The sshGeoBlocker bash script uses geoiplookup to get the location of an IP address from a MaxMind GeoLite2 database. Combining this script with a fail2ban sshd jail, IP addresses can be blocked after a certain number of unsuccessful connection attempts.
This tutorial explains how to use LetsEncrypt and acme.sh to create SSL certificates. In addition, snippets for a secure SSL configuration and secure transport headers are provided and explained. A hybrid solution, using RSA and ECDSA certificates, will be created.
Python script to update DNS ecords managed by Digital Ocean. This might be useful for home servers with dynamic IP addresses.
This article explains how to use the find command to enumerate the number of files or folders in a directory, and how to delete old backup files or directories using the same technique.
encpass.sh is a lightweight library to use encrypted passwords in bash scripts. Secrets can be encrypted at runtime and then used, decrypted, in scripts.
Two bash scripts that can be used to back up or restore a NextCloud instance. EncPass is used to hide secrets.
This article explains how to loop over files and folders in Linux.
This short tutorial shows how to migrate a running Ghost 4 instance to use one of Digital Ocean's managed databases instead of a local one.
This articles explains how to install Ghost 4 on Focal Fossa, and how to harden the Ghost instance against brute force attacks using fail2ban.
An introduction on how to use fail2ban to protect nginx against bots and brute-force attacks.
DigitalOcean is an excellent service provider. Focal Fossa is an easy-to-use Linux distribution. This is a quick introduction on how to securely set up a server on Digital Ocean.
On a personal note and maybe privacy related note, I switched from self-hosting Fathom Lite to using Fathom PRO.
Sherlock, an open-source tool, named after the famous detective Sherlock Holmes, is a neat little Python tool that can be used to hunt down social media accounts of a specific username on commonly used internet sites and social networks, such as Facebook, YouTube, Vimeo, Spotify and so forth.
Homer is a dead simple static HOMepage for your servER to keep your services on hand, from a simple yaml configuration file, developed by Bastien Wirtz.