# Secure Control of Egress Traffic in Istio, part 1

DevFeed: [Secure Control of Egress Traffic in Istio, part 1](<https://devfeed.tech/articles/secure-control-of-egress-traffic-in-istio-part-1-48684.md>)

Original publisher: [Read original article](<https://istio.io/latest/blog/2019/egress-traffic-control-in-istio-part-1/>)

Author: Vadim Eisenberg (IBM)

Published: 2019-05-22T00:00:00Z

Content type: article

Language: en

Sources: [Istio](<https://devfeed.tech/sources/istio-blog.md>)

Topics: [istio](<https://devfeed.tech/topics/istio.md>), [Security](<https://devfeed.tech/topics/security.md>), [service-mesh](<https://devfeed.tech/topics/service-mesh.md>), [software-architecture](<https://devfeed.tech/topics/software-architecture.md>), [legacy systems](<https://devfeed.tech/topics/legacy-systems.md>), [DDoS](<https://devfeed.tech/topics/ddos.md>)

Tags: [ddos](<https://devfeed.tech/tags/ddos.md>), [egress](<https://devfeed.tech/tags/egress.md>), [external-services](<https://devfeed.tech/tags/external-services.md>), [ingress](<https://devfeed.tech/tags/ingress.md>), [istio](<https://devfeed.tech/tags/istio.md>), [legacy-systems](<https://devfeed.tech/tags/legacy-systems.md>), [mesh](<https://devfeed.tech/tags/mesh.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [security](<https://devfeed.tech/tags/security.md>), [service-mesh](<https://devfeed.tech/tags/service-mesh.md>), [services](<https://devfeed.tech/tags/services.md>), [traffic-management](<https://devfeed.tech/tags/traffic-management.md>)

## AI overview

This first article in a series explains why Kubernetes cluster egress traffic should be controlled, describes attacks involving outbound traffic, and outlines requirements for secure egress control in Istio. It also discusses reducing damage after a cluster compromise and meeting PCI requirements for restricting outbound traffic.

## Source excerpt

This is part 1 in a new series about secure control of egress traffic in Istio that I am going to publish. In this installment, I explain why you should apply egress traffic control to your cluster, the attacks involving egress traffic you want to prevent, and the requirements for a system for egress traffic control to do so. Once you agree that you should control the egress traffic coming from your cluster, the following questions arise: What is required from a system for secure control of egress traffic? Which is the best solution to fulfill these requirements? (spoiler: Istio in my opinion) Future installments will describe the implementation of the secure control of egress traffic in Istio and compare it with other solutions. The most important security aspect for a service mesh is probably ingress traffic. You definitely must prevent attackers from penetrating the cluster through ingress APIs. Having said that, securing the traffic leaving the mesh is also very important. Once your cluster is compromised, and you must be prepared for that scenario, you want to reduce the damage as much as possible and prevent the attackers from using the cluster for further attacks on external services and legacy systems outside of the cluster. To achieve that goal, you need secure control of egress traffic. Compliance requirements are another reason to implement secure control of egress traffic. For example, the Payment Card Industry (PCI) Data Security Standard requires that inbound and outbound traffic must be restricted to that which is necessary: 1.2.1 Restrict inbound and outbound traffic to that which is necessary for the cardholder data environment, and specifically deny all other traffic. And specifically regarding outbound traffic: 1.3.4 Do not allow unauthorized outbound traffic from the cardholder data environment to the Internet... All traffic outbound from the cardholder data environment should be evaluated to ensure that it follows established, authorized rules. Co