$linuxjunkies
>

Linux guides

9 guides in Networking · advanced.

Networking· 12 min read

Bufferbloat-Free Networking with CAKE

Fix bufferbloat on Linux using CAKE qdisc with tc, including autorate-ingress for variable links, persistent systemd configuration, and latency verification.

AdvancedUbuntuDebianFedoraArch
Networking· 12 min read

Self-Host the Tailscale Control Plane with Headscale

Run your own Tailscale control plane with Headscale: install, configure TLS, register nodes with pre-auth keys, and enforce ACL policies on your infrastructure.

AdvancedUbuntuDebianFedoraArch
Networking· 12 min read

Linux Network Bonding (LACP and active-backup)

Configure Linux network bonding in LACP (802.3ad) and active-backup modes, including switch setup, systemd-networkd, NetworkManager, and fault-injection testing.

AdvancedUbuntuDebianFedoraArch
Networking· 12 min read

Turn a Linux Box into a Router

Configure a Linux machine as a full router: static interfaces, kernel IP forwarding, nftables NAT, dnsmasq DHCP, and DNS forwarding — step by step.

AdvancedUbuntuDebianFedoraArch
Networking· 12 min read

nftables from Scratch

Build a complete nftables firewall from scratch: tables, chains, hooks, sets, maps, NAT, and atomic transactional updates explained with real rules.

AdvancedUbuntuDebianFedoraArch
Networking· 10 min read

How to Build a WireGuard Mesh Between Servers

Build a WireGuard mesh VPN across multiple servers: key generation, per-node configs, AllowedIPs routing logic, NAT traversal, firewall rules, and full verification.

AdvancedUbuntuDebianFedoraArch
Networking· 12 min read

How to Set Up a DNS Server with BIND

Install and configure BIND 9 as a caching resolver and authoritative nameserver, with forward/reverse zones, common resource records, and firewall rules.

AdvancedUbuntuDebianFedoraArch
Networking· 12 min read

Multicast Networking on Linux

Configure IPv4/IPv6 multicast on Linux: addressing, IGMP group membership, interface flags, and live testing with iperf3 and socat.

AdvancedUbuntuDebianFedoraArch
Networking· 10 min read

Limit Bandwidth on Linux with tc

Shape Linux network traffic with tc, HTB qdiscs, and fq_codel. Enforce per-interface and per-host bandwidth limits that survive reboots via systemd.

AdvancedUbuntuDebianFedoraArch