Skip to content
Menu
vernon.wenberg.net
vernon.wenberg.net

Tag: linux

June 22, 2023July 9, 2023

Allow SSH connections only from certain addresses using hosts.deny/hosts.allow

This is the method that can be used to allow SSH connections from certain IP networks. An example use for this is allowing SSH from certain public IP networks, as well as from my Tailscale network. If possible, it is probably better to use iptables/nftables/ufw or the firewall feature of your hosting provider if they…

Read More
June 9, 2023July 20, 2023

Rate limit connections in Linux

Use the following iptables command to rate limit connections per IP. This is useful for preventing a DDoS attack on DNS servers. However, for DDoS protection for your DNS servers, you should be hosting DNS with the big cloud providers like Cloudflare, or running dnsdist in front of your authoritive servers.

Read More
September 15, 2022September 15, 2022

DB_VERSION_MISMATCH error when updating AlmaLinux 8 / RHEL 8 / Rocky Linux

When trying to update the operating system, you might receive an error similar to the following … This can be fixed with the following command to remove the existing database …

Read More
  • Previous
  • 1
  • 2

Disclaimer

These posts are notes for me. These are not guides and you should not use these instructions as step-by-step instructions without knowing what they do.

Recent Posts

  • Docker Reference
  • Useful Commands for Windows Subsystem for Linux
  • FortiManager Local-In Policy
  • Mount Google Drive in Linux using rclone
  • Restore original Explorer context menus in Windows 11

Mastodon

  1. Loading Mastodon feed...

©2025 vernon.wenberg.net | Powered by WordPress and Superb Themes!