Open SashaDesigN opened 8 years ago
How to use it with .ovpn file? I use Ipvanish and it provides to me .ovpn files. login/pass in console I type `openvpn --config filepath.ovpn but I want to automate it and have ability to switch connections multiple times when App is running.
Thanks)
Maybe like that:
const vpnclient = require('openvpn-client'); vpnclient.create(['--config', 'filepath.ovpn']);
This answer is like a flashback from past life))
How to use it with .ovpn file? I use Ipvanish and it provides to me .ovpn files. login/pass in console I type `openvpn --config filepath.ovpn but I want to automate it and have ability to switch connections multiple times when App is running.
Thanks)