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.
Linux is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds.
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.
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.
This article explains how to loop over files and folders in Linux.
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.