CubePath

Real client IP on load balancers

Real client IP on load balancers

Your servers behind a load balancer can now see the client's real IP address.

HTTP and HTTPS listeners add the X-Forwarded-For, X-Forwarded-Proto and X-Forwarded-Port headers to every request.

TCP listeners have a new PROXY protocol option, v1 or v2, that passes the client's address to your servers. See the listeners guide.

Topics

  • load balancer
  • client ip
  • real ip
  • x-forwarded-for
  • proxy protocol
  • tcp
  • http
  • https

Share

Ready to deploy?

Deploy your first server in minutes.