$ ./guess_the_languageNetworking
Networking · hard · #253

How does IPsec tunnel mode differ from transport mode?

  1. It encrypts the entire packet and adds a new IP header
  2. It functions only over UDP port 500 and nothing else
  3. It serves as a drop-in replacement for browser TLS
  4. It protects only the TCP source and destination ports
Tunnel mode protects the whole original packet and prepends a new outer header, which is why it suits gateway-to-gateway VPNs; transport mode keeps the original header and secures only the payload.
Play Networking ▸