title: (kubernetes/GKE) How do I route traffic in istio based on client IP address?
body: <p>I am using GKE, with it's own set of istio mesh enabled. I do have a gateway and a virtual service, which is routing traffic just fine. But I wanted to direct traffic to diffrent paths based on source IPs.
  I do realise that we could use match / headers in virtual service as shown in <a href="https://stackoverflow.com/questions/62207744/service-mesh-using-istio-to-route-tcp-traffic-based-on-client-ip-in-virtual-ser">this question</a>, as below:</p>
  <pre><code>  - match:
  - headers:
      x-forwarded-for:
        exact: 123.123.123.123
  </code></pre>
  <p>But it doesnt seem to work for me. Please suggest, thanks a lot.</p>