Traffic never flows exactly how you expect. One moment it’s smooth, the next it’s rushing through unprotected ports or drowning your observability stack. Kuma TCP Proxies exist to tame that chaos, giving you a clear, policy-driven path for every packet that moves inside your service mesh.
Kuma, built on top of Envoy, is more than a mesh controller. It defines how services talk to each other and what happens when they do. The TCP proxy is one of its simplest yet most powerful policies. It decides which connections flow, which stop, and which get shaped before hitting their destination. For teams balancing security, performance, and compliance, that’s the difference between “it kinda works” and “we sleep at night.”
Think of it like an automatic traffic cop that enforces network intent at Layer 4. You define the rules once—source, destination, protocol, mTLS policies—and every connected service obeys them. No messy proxies per application. No YAML sprawl. Kuma TCP Proxies handle east-west traffic just as cleanly as north-south, giving you both flexibility and control.
Here’s the general flow. A service forwards a TCP connection request. Kuma intercepts it, evaluates matching policies, and routes through an Envoy-managed data plane. If the request passes rules for identity, encryption, and rate limits, it proceeds. Otherwise, it quietly drops or redirects as configured. All this happens without rewriting apps or managing sidecar quirks manually.
For the quick version: Kuma TCP Proxies let you standardize network policies across every service, automatically routing and securing TCP traffic with zero custom code.
Best practices for real-world clusters
Start small. Apply policies per namespace first, then scale global controls. Use mTLS everywhere, verified through your existing CA or trust domain. Record traffic actions for audit through your observability stack. Integrate identity through OIDC or an enterprise provider like Okta for clean RBAC mapping. Avoid creating edge cases where one service talks outside the mesh—it will break your visibility.