Proxy vs Tunnel vs VPN: Confusion Resolved
Proxy, tunnel, and VPN all forward traffic; very different things. Knowing the words ends the confusion.
Definitions
Proxy: app-aware forwarder (HTTP/SOCKS).
Tunnel: layer-2 or layer-3 encapsulation.
VPN: tunnel + access control + crypto.
Proxy use cases
- Web filtering. Caching (CDN is a proxy). API gateways.
- Application-aware; can transform traffic.
Tunnel use cases
Inter-datacenter connectivity. Container networking (overlay).
Network-aware; protocol-agnostic.
VPN use cases
Remote access for users. Site-to-site for offices.
Tunnel + auth + encryption + access policy.
Antipatterns
- Calling everything a VPN. Imprecise.
- Proxy where tunnel needed. Wrong layer.
- VPN for service-to-service. Workload identity is better.
What to do this week
Three moves. (1) Apply this pattern to your highest-risk network path. (2) Measure the failure mode rate before/after. (3) Document the change so the next incident-responder inherits the knowledge.