# Networking for DevOps

Know what happens between a request and a response, and find where it broke when it doesn't arrive.

Level: Beginner. Free on DevOps Academy: https://devops.rajeev.pro/courses/networking

## Roadmap

1. **How networks work**: Every outage report says "network". Know the layers so you can say which one. [Lesson](https://devops.rajeev.pro/courses/networking/01-how-networks-work)
   Topics: OSI and TCP/IP models; Packets and encapsulation; MAC and ARP; Your machine's network
2. **IP addressing and subnets**: Every VPC, Pod network and firewall rule is written in CIDR. [Lesson](https://devops.rajeev.pro/courses/networking/02-ip-addressing)
   Topics: IPv4 addresses; CIDR and subnetting; Private ranges and NAT; IPv6 basics
3. **TCP, UDP and ports**: "Connection refused" and "timed out" mean different things. Know which. [Lesson](https://devops.rajeev.pro/courses/networking/03-tcp-udp-and-ports)
   Topics: TCP handshake; UDP; Ports and sockets; Connection states
4. **DNS**: It's always DNS, until you can prove it isn't. [Lesson](https://devops.rajeev.pro/courses/networking/04-dns)
   Topics: Resolution step by step; Record types; TTL and caching; Resolvers on Linux
5. **HTTP**: Most of what you deploy speaks HTTP. Read it like a log. [Lesson](https://devops.rajeev.pro/courses/networking/05-http)
   Topics: Requests and responses; Methods and status codes; Headers; HTTP/2 and HTTP/3
6. **TLS and HTTPS**: Expired and mismatched certificates cause more outages than attacks do. [Lesson](https://devops.rajeev.pro/courses/networking/06-tls-and-https)
   Topics: What TLS protects; Certificates and chains; The handshake; Let's Encrypt; mTLS
7. **Routing and NAT**: Know how a packet finds its way, and why private servers can still reach the internet. [Lesson](https://devops.rajeev.pro/courses/networking/07-routing-and-nat)
   Topics: Default gateway; Route tables; NAT and port forwarding; traceroute and mtr
8. **Firewalls**: Half of "it can't connect" is a rule somewhere saying no. [Lesson](https://devops.rajeev.pro/courses/networking/08-firewalls)
   Topics: Stateful and stateless; iptables and nftables; Security groups and NACLs; Default deny
9. **Proxies and load balancing**: Everything in production sits behind a reverse proxy or load balancer. [Lesson](https://devops.rajeev.pro/courses/networking/09-proxies-and-load-balancing)
   Topics: Forward and reverse proxies; Nginx as a reverse proxy; L4 and L7 load balancing; Health checks
10. **SSH and remote access**: How you reach servers safely, including ones with no public IP. [Lesson](https://devops.rajeev.pro/courses/networking/10-ssh-and-remote-access)
   Topics: Keys and agents; SSH config; Tunnels and port forwarding; Bastions and VPNs
11. **Container networking**: See how Docker and Kubernetes build networks out of plain Linux parts. [Lesson](https://devops.rajeev.pro/courses/networking/11-container-networking)
   Topics: Network namespaces; veth pairs and bridges; Docker networks; Pod networking and CNI
12. **Network troubleshooting**: A method that finds the broken layer in minutes instead of guesses. [Lesson](https://devops.rajeev.pro/courses/networking/12-troubleshooting)
   Topics: A layer-by-layer method; Packet capture with tcpdump; Real broken scenarios
