By using AWS re:Post, you agree to the Terms of Use

Elastic Load Balancer to provide source IP address when not defined as HTTP LB.



Is there any way to configure an AWS-ELB to provide source IP address when it is not configured as an HTTP load balancer but TCP load balancer?

To explain a bit, we would like to to setup SMTP servers on EC2-Instances behind a the ELB, but we need to be sure the receive the right origin IP address within the SMTP protocol which now implements X-Forward-For as HTTP protocol.

Any advice would be appreciated.

1 Answer

Yes, I think what you want is a Network Load Balancer. See: Client IP preservation.

profile picture
answered 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