Could not see AWS LB classic X-Forwarded-For** header

0

Hi, I want to set X-Forwarded-For header for my classic LB following the link https://docs.aws.amazon.com/elasticloadbalancing/latest/application/x-forwarded-headers.html.. However I could not see the radio button "X-Forwarded-For header" in the tab

EC2 >Load balancers>awseb-AWSEB-xxxxxxxxxx>Edit load balancer attributes

Could you please help

Many thanks

son
asked 6 months ago543 views
1 Answer
0
Accepted Answer

Hello.

The document you shared belongs to ALB.
The classic load balancer documentation is below.
https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/x-forwarded-headers.html

The X-Forwarded-For request header is automatically added and helps you identify the IP address of a client when you use an HTTP or HTTPS load balancer.

You can use the "X-Forwarded header" if the listener configuration is HTTP/HTTPS.
https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/using-elb-listenerconfig-quickref.html

Configuration examples for Apache etc. can be found in the following documentation.
https://repost.aws/knowledge-center/elb-capture-client-ip-addresses

profile picture
EXPERT
answered 6 months ago
profile pictureAWS
EXPERT
reviewed 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions