-
Notifications
You must be signed in to change notification settings - Fork 443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I use a proxy server to proxy all Database calls? #1011
Comments
Hi @balexandre, unfortunately, I do not think there is a way to form a proxy connection using tedious. I try to search around, and I did not find any related modules that can help with this purpose. 😓 |
In theory that would be possible - we'd just have to allow passing in a custom stream instead of opening up a socket for communication. |
100% |
Hi, |
Same issue here. While trying to use a reverse-proxy and proxy-socks.
|
Hi Folks, Thanks, |
Hi @martin-d-aleksandrov, I have not worked with SOCKS before. If it returns a Node.js Stream compatible stream, then the custom connector should work for this case. I think the discussion here may provide a additional explanation on this. |
Just like in
mysql2
database driver, how can we use a proxy server to route calls?Hosting in a dynamic IP provider (like Heroku) and have an Azure Database (that requires a whitelist IP address) it's almost impossible unless you open all IP range, and that goes against the propose of the firewall ...
I was wondering if there is a non-documented way to connect to a proxy (or socket proxy)
Added for linking proposes, the same kind'a question was asked on Sequelize
The text was updated successfully, but these errors were encountered: