Connect to a mongodb behind a vpn

I'm unable to connect to a mongodb that's behind a vpn..metabase timesout ...I'm able to connect to the same db through mongodb compass....please let me know if i need to check any metabase -db connection settings

Hi @nivedita1
Check if your firewall allows you to access the database from where Metabase is hosted. You would have to setup the VPN outside of Metabase, so Metabase can just use the tunnel as a regular connection without knowing if it is a VPN or not. It would be difficult to help you, since it would require a lot more information about your network and is unrelated to Metabase.
I would suggest using the JAR version of Metabase instead of Docker, since the container adds more complexity.