Proxysql: Support for proxy_protocol for proxysql behind aws load balancer

Created on 24 Jan 2020  路  6Comments  路  Source: sysown/proxysql

Hello,

is it possible to implement proxy_protocol on proxysql to see real remote IP of client ?

We would like to use new feature from v2.0.9 called firewall whitelist, but our proxysql servers are running behind TCP load balancer and we still see only load balancer's IP obviously.

Thank you.

Most helpful comment

If my understanding is correct, this is NOT a duplicate of #1971 or #2241 .

Because ProxySQL is behind a TCP load balancer, to me this request makes sense!

All 6 comments

If my understanding is correct, this is NOT a duplicate of #1971 or #2241 .

Because ProxySQL is behind a TCP load balancer, to me this request makes sense!

Unfortunately it looks like a duplicate:

So I guess the FR are asking to implement support for proxy protocol and extracting source IP from incoming PROXY header, so that it could be used for whitelisting.

It is doable, for example it can be used with nginx to whitelist request which come in to AWS ELB on nginx level and not on AWS ELB net/security rules.

No, I need to use source IP in proxysql firewall whitelisting feature and have more granular option to whitelist certain mysql user from certain IP/subnet to run queries and this proxysql is behind ELB.

Any update?

Any update?

Reopening, because we may work on it sometime in the future

Was this page helpful?
0 / 5 - 0 ratings

Related issues

leeparayno picture leeparayno  路  16Comments

ayder picture ayder  路  76Comments

patrickdk77 picture patrickdk77  路  15Comments

williamsantanamoip picture williamsantanamoip  路  17Comments

tapuhi picture tapuhi  路  17Comments