$linuxjunkies
>
<>

Networking

Interfaces, DNS, firewalls, VPNs, static IPs and troubleshooting connectivity.

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· 9 min read

How to Set Up Unbound as a Recursive DNS Resolver

Install Unbound, configure root hints and DNSSEC validation, and point your LAN at a private recursive DNS resolver — no upstream forwarder required.

IntermediateUbuntuDebianFedoraArch
Networking· 9 min read

How to Configure nginx as a Reverse Proxy

Configure nginx as a reverse proxy: proxy_pass basics, correct header forwarding, WebSocket upgrade handling, and TLS termination with Let's Encrypt.

IntermediateUbuntuDebianFedoraArch
Networking· 8 min read

How to Use the ip Command

Master the ip command to manage interfaces, addresses, routes, and ARP neighbours — the modern replacement for ifconfig, route, and arp on Linux.

BeginnerUbuntuDebianFedoraArch
Networking· 9 min read

How to Troubleshoot Network Connectivity

Diagnose Linux network problems layer by layer using ip, ping, traceroute, ss, and dig — from interface state to DNS resolution.

BeginnerUbuntuDebianFedoraArch
Networking· 9 min read

TCP/IP Protocols Explained

Understand IP, TCP, UDP, ICMP, ports, and the four-layer model — the core networking concepts every Linux sysadmin must know before touching a firewall or debugg

BeginnerUbuntuDebianFedoraArch
Networking· 9 min read

Squid ACL Configuration Explained

Learn how Squid proxy ACL definitions and http_access rules work, why ordering is critical, and avoid the most common allow/deny configuration mistakes.

IntermediateUbuntuDebianFedoraArch
Networking· 9 min read

How to Set Up a VPN with WireGuard

Set up a WireGuard VPN on Linux from scratch: generate keys, configure server and client peers, enable routing, and verify a live encrypted tunnel.

IntermediateUbuntuDebianFedoraArch
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· 9 min read

How to Set Up a DHCP Server on Linux

Install and configure ISC DHCP or Kea on Linux: define scopes, set static reservations, inspect leases, open firewall ports, and hook into dynamic DNS.

IntermediateUbuntuDebianFedoraArch
Networking· 9 min read

Port Forwarding on Linux

Forward ports on Linux using nftables DNAT rules, SSH local/remote tunnels, and router NAT configuration — with persistence and troubleshooting tips.

IntermediateUbuntuDebianFedoraArch
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· 9 min read

MTU and Packet Fragmentation Explained

Learn what MTU is, how path MTU discovery works, why it breaks, and how to diagnose and fix MTU mismatches on Linux with practical commands and examples.

IntermediateUbuntuDebianFedoraArch
Networking· 9 min read

Linux Networking Fundamentals

Master Linux networking from the ground up: interfaces, IP addressing, gateways, DNS, and the essential tools ip, ping, and ss with distro-specific examples.

BeginnerUbuntuDebianFedoraArch
Networking· 9 min read

Linux DNS Configuration

Configure Linux DNS end-to-end: understand /etc/resolv.conf, manage systemd-resolved, use /etc/hosts for static overrides, and verify with dig.

IntermediateUbuntuDebianFedoraArch
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
Networking· 8 min read

IP Masquerading and NAT on Linux

Set up IP masquerading and NAT on Linux using nftables to turn any machine into a router. Covers ip_forward, SNAT, DNAT, and iptables equivalents.

IntermediateUbuntuDebianFedoraArch
Networking· 9 min read

An Introduction to TCP/IP

Learn how TCP/IP works — IP addressing, routing, TCP vs UDP, ports, DNS, and the layered model — with practical Linux commands to see it all in action.

BeginnerUbuntuDebianFedoraArch
Networking· 10 min read

How TCP/IP Networking Actually Works

Trace a TCP connection from socket to wire: routing table lookups, ARP, the three-way handshake, MTU/PMTUD, and how NAT rewrites packets on a Linux gateway.

IntermediateUbuntuDebianFedoraArch
Networking· 7 min read

How to Configure a Static IP on Linux

Configure a static IP on Linux using Netplan, NetworkManager (nmcli), or systemd-networkd across Ubuntu, Fedora, Debian, and Arch with verified steps.

BeginnerUbuntuDebianFedoraArch
Networking· 9 min read

Common Linux Network Ports Reference

Learn Linux port ranges, read /etc/services, find what's listening with ss and nmap, and apply solid firewall rules to expose or block the right ports.

BeginnerUbuntuDebianFedoraArch