Using nftables Instead of iptables on Debian 13

TL;DR To transition from iptables to nftables on Debian 13, follow these concise steps to ensure a secure and efficient firewall setup. Migrating from iptables? If you’re currently using iptables (especially for advanced rate limiting), this guide will help you transition to nftables’ more modern and efficient syntax while maintaining equivalent functionality. ...

September 18, 2025 · 12 min · The AI Dev

Secure NFS Setup with Kerberos Authentication

TL;DR To set up a secure NFS with Kerberos authentication on Debian 13, follow these summarized steps: Install Required Packages: Ensure you have the necessary packages for NFS and Kerberos. sudo apt update sudo apt install nfs-kernel-server nfs-common krb5-user Configure Kerberos: Edit the Kerberos configuration file /etc/krb5.conf to match your domain settings. Ensure the realm and KDC are correctly specified. ...

August 23, 2025 · 7 min · The AI Dev

Using OpenSCAP for Compliance Audits

TL;DR OpenSCAP is a powerful tool for performing compliance audits on Debian 13 systems. It helps ensure that your server adheres to security standards and best practices. Here’s a quick guide to get you started: For comprehensive guidance on system hardening techniques, see our detailed guide on Hardening Debian 13 For Internet Facing Servers. For comprehensive guidance on system hardening techniques, see our detailed guide on Systemd Service Hardening Protecting Critical Services. For comprehensive guidance on tuning sysctl for security and performance, see our detailed guide on Tuning Sysctl For Security And Performance. ...

August 20, 2025 · 8 min · The AI Dev

Monitoring Logs with GoAccess and Fail2ban Integration

TL;DR To monitor logs effectively with GoAccess and integrate it with Fail2ban on Debian 13, follow these concise steps: Install GoAccess: Ensure you have GoAccess installed to analyze web server logs. Use the following command: sudo apt update && sudo apt install goaccess Configure GoAccess: Set up GoAccess to read your web server logs. For Nginx, modify the configuration file: ...

August 20, 2025 · 9 min · The AI Dev

Using rclone with Encrypted Cloud Storage

TL;DR To use rclone with encrypted cloud storage on Debian 13, follow these concise steps: Install rclone: Ensure you have the latest version of rclone installed. Use the following command to install it from the official repository: sudo apt update && sudo apt install rclone -y # Install rclone Configure rclone: Start the configuration process to set up your cloud storage and encryption: ...

August 19, 2025 · 8 min · The AI Dev

Bastion Host Setup for Remote Administration

TL;DR To set up a bastion host for secure remote administration on Debian 13, follow these key steps: Install OpenSSH Server: Ensure the SSH server is installed and running. sudo apt update && sudo apt install openssh-server # Install OpenSSH sudo systemctl enable ssh # Enable SSH to start on boot sudo systemctl start ssh # Start SSH service Configure SSH for Security: Edit the SSH configuration to enhance security. ...

August 18, 2025 · 14 min · The AI Dev

How to Set Up WireGuard VPN on Debian

Setting Up WireGuard VPN on Debian 13 TL;DR To set up WireGuard VPN on Debian 13, follow these essential steps: Install WireGuard: Get the modern VPN solution installed. sudo apt update && sudo apt install wireguard wireguard-tools -y # Install WireGuard Generate Server Keys: Create cryptographic keys for secure connections. sudo mkdir /etc/wireguard && cd /etc/wireguard # Create config directory umask 077 # Secure permissions wg genkey | sudo tee server_private.key | wg pubkey | sudo tee server_public.key Create Server Configuration: Set up /etc/wireguard/wg0.conf with your keys. ...

August 17, 2025 · 10 min · The AI Dev

Iptables Advanced Rules for Rate Limiting

Advanced iptables Rules for Rate Limiting on Debian 13 TL;DR To implement advanced rate limiting with iptables on Debian 13, follow these essential steps: Install iptables: Ensure iptables is installed and ready for configuration. sudo apt update && sudo apt install iptables # Install iptables Rate Limit SSH Connections: Protect against brute-force attacks by limiting SSH connections. ...

August 16, 2025 · 8 min · The AI Dev

Linux Audit System Guide: auditd Security Event Tracking

TL;DR Auditd is a powerful tool for tracking security events on Debian 13 systems. It provides detailed logs of system calls and can help identify unauthorized access or changes. To get started with Auditd, follow these key steps: Install Auditd: Ensure Auditd is installed on your system. sudo apt update && sudo apt install auditd audispd-plugins Start and Enable Auditd: Activate the Auditd service to start logging events. ...

August 16, 2025 · 12 min · The AI Dev

How to Configure AppArmor Profiles for Web Servers

TL;DR To configure AppArmor profiles for web servers on Debian 13, follow these summarized steps: Install AppArmor: Ensure AppArmor is installed and running on your server. sudo apt update && sudo apt install apparmor apparmor-utils # Install AppArmor sudo systemctl enable apparmor # Enable AppArmor to start on boot sudo systemctl start apparmor # Start AppArmor service Create a Profile: Generate a new AppArmor profile for your web server application (e.g., Apache). ...

August 15, 2025 · 12 min · The AI Dev
Buy Me A Coffee