VPNs
VPN
Packets wrapped, encrypted, in UDP to a VPN server, which unwraps them on the far side.
A VPN wraps each packet, encrypted, inside a UDP packet to a VPN server, which unwraps it. A split tunnel carries only some networks (the office); a full tunnel carries everything except the tunnel's own packets. The local network sees only encrypted UDP to one address, but still learns that you use a VPN, when and how much. A full tunnel should fail closed and carry DNS too.
Read next
- DNS leak Lookups leaving outside a VPN tunnel, telling the local network every name you visit.
- MSS clamping A router lowering the MSS in TCP SYNs to what its small link carries.
- Bastion host One hardened machine that is the only way into a private network.
- Man in the middle A machine placed on the path between two parties, able to read and alter what is not protected end to end.
- IPsec Encryption at the IP layer: IKE agrees keys between two gateways, ESP carries their traffic encrypted.
- Remote access vs site-to-site A VPN joins one device to a network (remote access) or two networks through their gateways (site-to-site).
- Network types: LAN, WAN, MAN, PAN, SAN Networks named by their reach: a room, a building, a city, the world, or a storage fabric.
- Wi-Fi security: WEP, WPA, WPA2, WPA3 How a wireless network keeps strangers off and its frames private, from broken WEP to WPA3.
- GRE tunnel A virtual link between two routers: each packet is wrapped in a new IP header between their public addresses.
- Underlay and overlay The physical routed network (underlay) and the virtual networks built on top of it with tunnels (overlay).
- Internet gateway and NAT gateway The VPC's doors: one-to-one public IPs both ways through the internet gateway, and outbound-only overload through a NAT gateway.
- Hashing, salting and key exchange The building blocks under TLS and passwords: one-way hashes, salts, key pairs and agreeing a key in public.
- NAT traversal Getting traffic through NAT: wrapping protocols in UDP, whose ports NAT can map, and punching holes between peers.
- Clientless VPN Remote access through a web portal in the browser, over HTTPS, with nothing installed and no route into the network.