81 articles
Knowledge Base
Networking
81 articles in the Networking category · page 2 of 4.
- Linux network namespaces: isolating routes, interfaces, and conntrack How Linux network namespaces work, how to create them with iproute2, and the operational habits that keep them debuggable in production.
- Site-to-site IPsec with strongSwan How to connect two networks over IPsec with strongSwan — config layout, certificate vs PSK auth, traffic selectors, and the failover patterns that survive a transit outage.
- Sticky sessions in clustered deployments: solving a problem or hiding a bug? Session affinity at the load balancer fixes some real problems and masks others. Knowing which is which determines whether your cluster is actually horizontally scalable.
- Installing Algo VPN: opinionated WireGuard + IPsec from Trail of Bits How Algo VPN bootstraps a hardened personal/team VPN on a fresh VPS — what it actually installs, where it differs from a hand-built stack, and when to use it.
- Dual-stack VPN: IPv4 and IPv6 inside the tunnel How to run OpenVPN, WireGuard, and strongSwan with both IPv4 and IPv6 inside the tunnel — addressing, routing, DNS, and the breakage modes that come with mixing the two.
- Policy-based routing on Linux: multiple routing tables and ip rule How Linux routes packets through multiple tables driven by source address, fwmark, and interface, with concrete configs for split egress, dual ISPs, and tenant isolation.
- Deploying BGP anycast with bird2 on Ubuntu 22.04 for multi-DC routing Full installer for an anycast service IP advertised from multiple data centres via bird2 — eBGP sessions to upstream routers, route-map filters, and verification.
- OpenVPN client certificate distribution that scales How to generate, package, and revoke OpenVPN client certificates without a spreadsheet — the workflow we use to keep a fleet of VPN profiles auditable.
- Deploying HAProxy 2.8 + keepalived on a 2-node Ubuntu 22.04 cluster (production-ready) Stand up a hardened HAProxy 2.8 + keepalived HA pair on Ubuntu 22.04 — VRRP floating VIP, L4/L7 backends, stats socket, health checks, syntax-validated reloads.
- MACVLAN for container networking: pros, cons, and a working setup How MACVLAN gives each container its own MAC and IP on the host LAN, the four modes (bridge/private/vepa/passthru), and the operational gotchas around hosts not talking to their own MACVLAN children.
- iptables as a stateful firewall: conntrack states, ordering, and a complete ruleset How the iptables state machine actually works, the order chains must be evaluated in, and a production-grade ruleset for a Linux server with public services.
- Dual-stack IPv4 and IPv6 server setup: addresses, DNS, services, and pitfalls A working dual-stack server build — static addresses, AAAA and PTR records, listening sockets, and the surprises around source-address selection and Happy Eyeballs.
- ECMP routing on Linux: multipath, hash policy, and per-flow load distribution How Linux distributes traffic across equal-cost multipath routes, the hash algorithms that decide which flow takes which path, and the operational levers that keep flows pinned.
- IGMP snooping on Linux bridges: stopping multicast flood at L2 How IGMP snooping on the Linux bridge prevents multicast from flooding every port, the querier role, and the sysctls and bridge commands that control it in production.
- Pritunl: a managed admin layer over OpenVPN/WireGuard How we install and operate Pritunl as an admin console for OpenVPN and WireGuard — install on Ubuntu, MongoDB backend, SSO integration, and the operational notes.
- OSPF with FRR: areas, LSAs, and a working IGP for Linux routers How to bring up OSPFv2 on Linux with FRR, the area model, what each LSA type carries, and the verification commands to confirm convergence.
- IKEv2 mobile clients with strongSwan How to configure strongSwan as an IKEv2 gateway for iOS, macOS, Windows, and Android mobile clients — EAP authentication, MOBIKE roaming, and the certificate quirks each OS enforces.
- IS-IS with FRR: a Linux take on the carrier-grade link-state protocol How to bring up IS-IS on Linux with FRR, NET addressing, level-1 vs level-2 routing, and where IS-IS still wins over OSPF in modern fabrics.
- Nebula: building an overlay mesh from Slack's open source How we install Nebula, structure the lighthouse, and write certificate-bound firewall rules — a deep look at Slack's open-source overlay VPN in production.
- DPDK overview: userspace networking, when to use it, and the operational trade-offs What DPDK is, how it bypasses the kernel for line-rate packet processing, the deployment model with hugepages and CPU isolation, and where eBPF/XDP is the better answer.
- ZeroTier overlay networks on Ubuntu How to install ZeroTier, join a network, and shape the rules engine — the install we run when clients need an Ethernet-style overlay with central administration.
- VXLAN overlay bridges: building L2 over L3 with the Linux kernel How VXLAN encapsulates Ethernet over UDP, how to build a multi-host L2 overlay on Linux without a controller, and the operational tradeoffs against EVPN and flannel.
- VPN DNS leak prevention, per OS How DNS leaks happen on VPN-connected clients — and the per-OS fixes for Windows, macOS, Linux, iOS, and Android that we ship in our profiles.
- VPN HA failover with keepalived How to build active/standby VPN gateways with keepalived — VRRP fundamentals, state synchronization for OpenVPN and IPsec, and the failover behaviour we test before production.