The MeshPassthrough policy controls intercepted outbound traffic to destinations the mesh
doesn’t know. The caller’s sidecar either forwards that traffic or rejects it. Use this policy
to allow selected third-party APIs or database addresses without registering each one as a
mesh resource.
This policy doesn’t cover all traffic leaving the mesh. A destination represented by a
MeshExternalService has its own routing and policies, and
passthroughMode: None doesn’t block it. Use MeshExternalService when a destination needs a
stable mesh name, a VIP, or its own policies.
Proxies that no MeshPassthrough selects reject traffic to unknown external destinations, as
if passthroughMode: None applied. To allow every unknown destination by default instead, set
KUMA_DEFAULTS_RESTRICT_OUTBOUND=false on the control plane. That setting also lets proxies
without reachableBackends reach every mesh destination.
The policy needs transparent proxying. A proxy without it, or one that binds its outbounds directly, skips the policy and gets a policy warning.
This policy only controls traffic intercepted by the sidecar. Traffic excluded from transparent proxying is outside its scope. Do not use it as the only boundary for a workload that can bypass interception. Enforce network restrictions too.