CyberGhost API: Command Line Interface

The following CyberGhost clients support the command line interface. This list will be updated in future and also the Mac client will support this interface in the near future:

  • CyberGhost 5 (Windows Client) Version 5.0.14.0

 

Switch Options Description
/connect

 

Establishes a VPN connection. If no additional parameter is specified, server is selected automatically. 

 

/disconnect  

Will disconnect the VPN connection.

/min   Will start CyberGhost minimized, without showing a splash screen and GUI
/exit   Will disconnect and close the app.
/show   Shows the CyberGhost GUI
/lock-internet   Will disconnect all Internet connections and lock it.
/unlock-internet   Will unlock a previous locked Internet connection
/start-app-before-connect  Path Will start an app before connection has been established. Multiple occurrences of  this parameter are possible
/start-app-after-connect  Path Will start an app after connection has been established.. Multiple occurrences of  this parameter are possible
/terminate-app-before-connect  Path Will terminate an app before connection has been established.. Multiple occurrences of  this parameter are possible
/terminate-app-after-connect  Path Will terminate an app after connection has been established.. Multiple occurrences of  this parameter are possible
/start-app-before-disconnect  Path Will start an app before connection has been dropped. Multiple occurrences of  this parameter are possible
/start-app-after-disconnect  Path Will start an app after connection has been dropped.. Multiple occurrences of  this parameter are possible
/terminate-app-before-disconnect  Path Will terminate an app before connection has been dropped.. Multiple occurrences of  this parameter are possible
/terminate-app-after-disconnect  Path Will terminate an app after connection has been dropped.. Multiple occurrences of  this parameter are possible

 

Have more questions? Submit a request

Comments

0 Comments
Article is closed for comments.
Powered by Zendesk