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

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

@callac

Description

@callac

istio 1.7,
默认配置安装,

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions