# A namespace's default Sidecar has egress hosts "./*" and "istio-system/*", and the mesh uses ALLOW_ANY. What happens to calls from that namespace to an external host with a ServiceEntry in another namespace?

Istio, Hard (Expert), Advanced Configuration. https://k8wiz.com/uquiz/a-namespaces-default-sidecar-has-egress-hosts-and-istio-system-and-the-mesh-uses-allow_any-what-happens-to-calls-from-that-names

- A. They fail with 502, because the host is outside the Sidecar's egress scope
- B. They succeed as passthrough traffic, because scoping does not block traffic
- C. They fail the TLS handshake, because BlackHoleCluster receives the connection
- D. They succeed through the ServiceEntry, because exportTo overrides the Sidecar

**Answer:** They succeed as passthrough traffic, because scoping does not block traffic

**Explanation:** The Sidecar resource only trims the configuration a proxy receives. A host outside its egress hosts is treated as unmatched traffic, and under ALLOW_ANY unmatched traffic goes to PassthroughCluster, so the call works but without the ServiceEntry's settings. To block it, set the outbound traffic policy to REGISTRY_ONLY in the mesh or on the Sidecar.
