Skip to content
This repository has been archived by the owner on Jul 24, 2022. It is now read-only.

istio 如何获取真实客户端IP #2

Open
callac opened this issue Oct 9, 2020 · 0 comments
Open

istio 如何获取真实客户端IP #2

callac opened this issue Oct 9, 2020 · 0 comments

Comments

@callac
Copy link

callac commented Oct 9, 2020

istio 1.7,
默认配置安装,

1.应用通过”HTTP_X_FORWARDED_FOR“ 拿到的是内部IP, 如何能拿到真实客户端IP?(尝试修改externalTrafficPolicy: Local, AWS不支持

2.如果外面增加了一层DNS加速,各个加速商提供客户端真实IP变量名也不一样,能不修改应用代码的情况下, 在istio当中处理吗? 期望能在istio-ingressgateway 中直接处理,不同DNS加速商可以启多个ingressgateway, 不用EnvoyFilter

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant