title: How to get client IP behind an AWS ELB?
body: <p>With a webserver (apache or nginx) I am able to find the <code>x-forwarded-for</code> header and find the client IP rather than the ELB's IP.</p>
  
  <p>Can I do the same thing using <code>IPTables</code> so that I am able to block certain IP addresses?</p>
  
  <p>I can do this at the webserver level. However, I think this is a bit inefficient and I am hoping I can achieve this with IP Tables or something similar?</p>