0

My company's goal is to route MySQL traffic through an SSH tunnel, but using a reverse proxy through NGINX. We created a Linux box in our Azure environment, but are struggling to complete the process.

I was going to open an SSH tunnel locally, and then route the reverse proxy to the local ssh tunnel address, however I am not sure that will work...

Thoughts?

  • Why do you need nginx? SSH port forwarding/tunneling should handle everything. – hardillb Aug 25 '23 at 15:57
  • How stable are you expecting this to be? Surely you are not using it for backend connections in production? – Esa Jokinen Aug 26 '23 at 08:08
  • @EsaJokinen Unfortunately, we were planning on using it in production to connect to our cloud based SQL server for Magento. We figured running a cronjob to close and reopen the tunnel every evening would stabilize the tunnel enough. – Sam Taber Aug 31 '23 at 17:32

0 Answers0