I seemed to be lost in my current project. From the linux machine (Ubuntu server), running the code in nodejs, I have to connect to the Windows server via VPN and gain access to the mySQL server running on it.
About the VPN server I only know this Windows, and I can easily connect to it using the VPN connector on another Windows machine, I do not have access to this machine or its parameters.
All I have is the IP of both the VPN and the database server inside that VPN, as well as the username / password for the VPN and the database. I also know that VPN uses ms-chap v2 .
I am trying to use openvpn as follows:
sudo openvpn --remote vpnIP --dev tun --ifconfig 127.0.0.1 dbIP
This does not display an error message, but never asks for a VPN username and password
And what should I do with nodejs to access the database after creating the VPN?
Like I said, I really lost it! Any advice would be appreciated!
source share