I deployed a load balancer in front of apisix. The load balancer accepts the client's TCP request and forwards it to apisix. When I want to obtain the client's original IP in the tcp module of the apisix proxy for whitelist restriction, the current situation is The original IP cannot be obtained in the stream. Although apisix can be configured to accept the proxy protocol, due to the lack of support from the above module, set_real_ip_from cannot be configured in the stream, resulting in the inability to obtain the real request IP.
I deployed a load balancer in front of apisix. The load balancer accepts the client's TCP request and forwards it to apisix. When I want to obtain the client's original IP in the tcp module of the apisix proxy for whitelist restriction, the current situation is The original IP cannot be obtained in the stream. Although apisix can be configured to accept the proxy protocol, due to the lack of support from the above module, set_real_ip_from cannot be configured in the stream, resulting in the inability to obtain the real request IP.