node-openvpn | Communicate with a openvpn instance via telnet | VPN library
kandi X-RAY | node-openvpn Summary
kandi X-RAY | node-openvpn Summary
Communicate with a openvpn instance via telnet.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Log out the network
- Establish a telnet network .
- executes connect to a remote connection
- disconnection server
node-openvpn Key Features
node-openvpn Examples and Code Snippets
Community Discussions
Trending Discussions on node-openvpn
QUESTION
I have been researching this for day and I haven't been able to find the way to do this.
I am building a react app, running express at the backend, that needs to access some data in a remote database that lives inside a VPN. At the moment the app lives on my localhost so its enough for me to connect my machine using openvpn client and everything works a beauty. The problem will rise when the app will be live and I will need it to have access to the vpn by (I'm guessing) having a vpn client running on the site/domain.
Has anyone done this before?
I have tried to install the node-openvpn package that seems could do the job but unfortunately I can't manage to make it work as the connection doesn't seem to be configured properly.
This is the function I call to connect to the vpn that systematically fails at the line
...--> openvpnmanager.authorize(auth);
ANSWER
Answered 2018-Aug-12 at 11:37The problem will rise when the app will be live and I will need it to have access to the vpn by (I'm guessing) having a OpenVPN client running on the site/domain.
Thats correct, you will need an openvpn client instance on the server where you will run the backend.
The above library (node-openvpn) is simply a library to interact with the local OpenVPN client instance. It cannot create a connection on its own. It depends on the OpenVPN binary (which should be running).
The solution you need is simply run the OpenVPN client on your server (apt-get openvpn). And let the daemon run. Check out the references below.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install node-openvpn
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page