I am using AWS Elastic Load Balancing (ELB)in front of two Linux web servers. But (based on my requirement) I need to know the real IP addresses in terms of web servers, especially when I use it netstat.
I need to know the number of incoming connections from each IP address (from NETSTAT) , as in real time. So, basically on Linux (without ELB ahead), the command netstatworks just fine:
netstat -tn 2>/dev/null | grep :80
But now I can only see the internal IP addresses of ELB ; which makes it all pretty complicated.
What is the solution for this please? Thank.
source
share