-
- Posts: 16
- Joined: Fri Mar 16, 2018 5:11 pm
I need to use, from a Windows 7 Prof computer, a VPN provider that provides OpenVPN services. I also need to be able to start/stop "random" OpenVPN connections under programmatic control, unattended. My usage scenario is approximately: I have a long-running app on the computer, from time to time this app gets messages from a queue, and based on those messages it needs to start a specific OpenVPN connection and do some additional work.
I looked briefly at the OpenVPN client app, and while it works decently well in GUI mode, it seems unnecessarily baroque for my use above: once started from the commandline it doesn't "return" but stays running until stopped; all further communication with that running connection is done by telnet-ing into a "management" server; the batch file running all this needs to run as administrator, gets a UAC dialog, etc. That last one, UAC dialog, is a showstopper because I haven't figured a reasonable way to make that run unattended.
So I'm very hopeful for Viscosity billing itself as a scriptable OpenVPN client.
Finally, questions, please:
1) would Viscosity be usable in the unattended scripting scenario mentioned above?
2) I saw the ViscosityCC commands at the following link; are there other commands? Is there a user manual, perhaps? https://www.sparklabs.com/support/kb/ar ... g-windows/
3) it seems admin privileges are required on Windows for the way openvpn works -- it rewrites routing tables, and on Windows that requires elevated perms. How does Viscosity get around this?
Thank you
I looked briefly at the OpenVPN client app, and while it works decently well in GUI mode, it seems unnecessarily baroque for my use above: once started from the commandline it doesn't "return" but stays running until stopped; all further communication with that running connection is done by telnet-ing into a "management" server; the batch file running all this needs to run as administrator, gets a UAC dialog, etc. That last one, UAC dialog, is a showstopper because I haven't figured a reasonable way to make that run unattended.
So I'm very hopeful for Viscosity billing itself as a scriptable OpenVPN client.
Finally, questions, please:
1) would Viscosity be usable in the unattended scripting scenario mentioned above?
2) I saw the ViscosityCC commands at the following link; are there other commands? Is there a user manual, perhaps? https://www.sparklabs.com/support/kb/ar ... g-windows/
3) it seems admin privileges are required on Windows for the way openvpn works -- it rewrites routing tables, and on Windows that requires elevated perms. How does Viscosity get around this?
Thank you