Forward original IP addresses to machines behind haproxy/LB #290

Closed
opened 2021-01-18 12:17:55 +00:00 by raucao · 2 comments
Owner

A bit more involved, but if we want client IP addresses being available in forwarded TCP traffic, it seems to be the only way:

https://medium.com/snapt/haproxy-and-tproxy-99bcf6ce16cf

A bit more involved, but if we want client IP addresses being available in forwarded TCP traffic, it seems to be the only way: https://medium.com/snapt/haproxy-and-tproxy-99bcf6ce16cf
raucao added the
feature
label 2021-01-18 12:17:55 +00:00
raucao added
idea
and removed
feature
labels 2022-08-23 13:03:41 +00:00
Author
Owner

There's also the proxy protocol, and it is supported by a surprising amount of applications, incl. ejabberd and nginx.

There's also the proxy protocol, and it is supported by a surprising amount of applications, incl. ejabberd and nginx. * https://www.process-one.net/blog/proxy-protocol-in-ejabberd/ * https://docs.nginx.com/nginx/admin-guide/load-balancer/using-proxy-protocol/
raucao changed title from Set up TPROXY IP address spoofing/forwarding for HAProxy hosts to Forward original IP addresses to machines behind haproxy/LB 2022-10-19 09:55:15 +00:00
raucao removed the
idea
label 2022-10-19 09:55:24 +00:00
raucao self-assigned this 2022-10-24 10:49:40 +00:00
Author
Owner

Closing, since we recently configured proxy protocol for haproxy/ejabberd, and almost phased out haproxy for HTTPS already (in favor of nginx vhosts on the host/LB).

Closing, since we recently configured proxy protocol for haproxy/ejabberd, and almost phased out haproxy for HTTPS already (in favor of nginx vhosts on the host/LB).
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kosmos/chef#290
No description provided.