You may want to check the Proxy Network Load Balancer and enable the Proxy Protocol. This protocol passes the original destination IP and other connection details to the server, even if traffic is routed through a Load Balancer. This will pass the original destination IP in the request headers. You would then need to configure your server to interpret the Proxy Protocol header to get the correct destination IP.
Proxy Network Load Balancers are intended for TCP traffic only, with or without SSL. For HTTP(S) traffic, we recommend that you use an Application Load Balancer instead.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.