VPNht / desktop-legacy

VPN.ht Desktop Application for Windows and Mac OS X built on top of Electron
https://vpn.ht
GNU General Public License v3.0
85 stars 44 forks source link

CLI Interface for the client #10

Open phnz opened 8 years ago

phnz commented 8 years ago

If we ship the node binary we can create a CLI that we can expose admin permission to run command used by the ipv6 leak protection or the killswitch.

A draft has already been done here https://github.com/VPNht/desktop-cli

In windows we'll need to make a service this way, from the app we can send command via a socket / port similar to openvpn management console.

The service will have admin permission so we can handle everything without a elevation required.

In mac/linux it's similar to what we already have for openvpn. It can be a simple CLI using SETUID