sasha-alias / sqltabs

Rich SQL client for Postgresql, MySQL, MS SQL, Amazon Redshift, Google Firebase (Firestore)
https://www.sqltabs.com
GNU General Public License v3.0
803 stars 57 forks source link

Client IP address #132

Open mojidabckuu opened 5 years ago

mojidabckuu commented 5 years ago

SQL Tabs somehow knows my real IP. If I google "my ip" it shows VPN's IP address, but when I connect it applies the real one.

Expected behavior: it has to be VPN's IP address.

sasha-alias commented 5 years ago

I'm not quite sure I understand the issue. What database do you use? what does mean "applies real IP"?

The only guess I had is client_addr in pg_stat_activity, but i checked and it works fine showing the VPN IP.

mojidabckuu commented 5 years ago

Sorry, forgot to mention. I am using Postgres. The real IP means IP without VPN. Is it possible that VPN's protocol type could be the reason? Currently it is udp based configuration.