X-Forwarded-For as Client IP in ALB Access Logs

0

We have a public proxy in front of our ALB. That public proxy forwards requests with the X-Forwarded-For header (to include the Client IP). We have also set up Access Logging for the Application Load Balancer. However, it appears that the IP address recorded for the request is not the actual Client IP address, but the public proxy's IP address.

How do we enable recording of the original client IP address (via the X-Forwarded-For) header in Application Load Balancer Access Logs?

-Shaun

soleson
質問済み 5年前1307ビュー
3回答
0

Any chance I can get some AWS Support with this?

soleson
回答済み 5年前
0

Should this be posted in another forum as I was hoping for some form of response by now.

Thanks in advance.

soleson
回答済み 5年前
0

For others seeking similar information, it appears that what I'm attempting to do is not really practical. Having the firewall behind a caching proxy would not prevent malicious traffic from attempting to access the caching proxy and that proxy attempting to pull cache misses.

Marking this closed as I'll need to find another solution.

soleson
回答済み 5年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ