Topic

Networking

Addresses, ARP, ports, DNS, HTTP, routing, NAT, DHCP, firewalls, SSH tunnels, packet capture, performance and TLS, ending in two projects.

  • 14 hands-on labs
  • Beginner to advanced
  • DevOps plan

Opens with the DevOps plan. Cloud, AI, Data and Teams include it too.

Labs

14 labs in order. Beginner to advanced.

Each lab is a real machine built only for you, with a guide and checks that read what you actually did.

  1. Beginner

    Addresses, interfaces and subnets

    Read a server's network identity, split address blocks by hand, then build a small office network inside one VM: a bridge as the switch and two namespaces as the machines plugged into it.

  2. Beginner

    MAC addresses, ARP and the layers

    See how one machine finds another on the same network: learn a neighbour's MAC address through ARP, capture the exchange, measure the link's MTU and place every part of a network in its layer.

  3. Beginner

    Ports, sockets, TCP, UDP and netcat

    Find which program owns which port, move data with netcat over TCP and UDP, watch a TCP connection open and close in a capture, and fix a service that runs but cannot be reached.

  4. Intermediate

    DNS records, resolvers and your own DNS server

    Read every common DNS record with dig, route one zone to its own server with systemd-resolved, see why /etc/hosts wins, and run a small DNS server of your own with dnsmasq.

  5. Intermediate

    HTTP with curl: methods, headers, redirects and JSON

    Speak HTTP directly with curl: follow redirects, satisfy an API's header rules, create, change and delete records with JSON and a bearer token, and use an ETag so unchanged data is not sent twice.

  6. Intermediate

    Routing, gateways and NAT

    Build an office network and its router out of namespaces, connect it to a small internet, then make it work the way a home or office router does: forwarding, masquerading NAT, a port forward and a traced path.

  7. Intermediate

    DHCP: hand out addresses automatically

    Run a real DHCP server: build an office segment, serve it with Kea's pool, options and a reservation, watch clients configure themselves, and capture the four messages that make it happen.

  8. Intermediate

    Firewalls with nftables, checked with nmap

    See a server the way an attacker does with nmap, then lock it down with an nftables firewall that drops by default, logs what it stops and survives a restart, and prove the result with a second scan.

  9. Intermediate

    SSH jump hosts and tunnels

    Reach a private network the safe way: an SSH config with a jump host, host keys checked by fingerprint, and the three kinds of tunnel, local, dynamic and remote, each for its own job.

  10. Advanced

    Diagnose traffic with tcpdump

    Diagnose a misbehaving service from the wire alone: capture exactly the traffic you need, read HTTP inside packets, catch refused connections, see hidden DNS lookups and measure which call is slow.

  11. Advanced

    Latency, bandwidth and TCP tuning

    Measure a network instead of guessing: TCP throughput and UDP loss with iperf3, the phases of a slow web request with curl, and TCP buffers sized from the bandwidth delay product so one connection can fill a long link.

  12. Advanced

    Debug TLS: expiry, names, chains and client certificates

    Debug the TLS failures that take real sites down: an expired certificate, a certificate for the wrong name and a missing intermediate, then lock an endpoint to clients holding certificates of their own.

  13. Advanced

    Project: fix the broken server

    A project with a playbook: a shop that worked yesterday is down after an undocumented maintenance. Work up the layers, name, route, connection, service, bind and application, and fix every fault so it stays fixed.

  14. Advanced

    Project: build a small web stack

    Build a small production stack across three servers: a passworded Redis behind a firewall, an app running as a hardened service, and an Nginx edge serving HTTPS from your own certificate authority, with each tier reachable only by its neighbour.

Learning paths

On these learning paths.