| 235 | |
| 236 | ---- |
| 237 | |
| 238 | == Built in Help #gui-help |
| 239 | |
| 240 | See: `openvpn-gui.exe --help` |
| 241 | |
| 242 | `--connect cnn` : Connect to `cnn` at startup. (extension must be included) |
| 243 | |
| 244 | Example: `openvpn-gui --connect office.ovpn` |
| 245 | |
| 246 | `--command cmd [args]` : Send a command `cmd` to a running instance of the GUI |
| 247 | |
| 248 | Supported commands: |
| 249 | |
| 250 | || `connect cnn` || connect the config named `cnn` || |
| 251 | || `disconnect cnn` || disconnect the config named `cnn` || |
| 252 | || `reconnect cnn` || reconnect the config named `cnn` || |
| 253 | || `disconnect_all` || disconnect all connected configs || |
| 254 | || `exit` || terminate the running GUI instance (may ask for confirmation) || |
| 255 | || `status cnn` || show the status window of config `cnn` if connected || |
| 256 | || `silent_connection [0|1]` || set the silent_connection flag on (1) or off (0) || |
| 257 | |
| 258 | Example: `openvpn-gui.exe --command disconnect myconfig` |
| 259 | |
| 260 | Options to override registry settings: |
| 261 | |
| 262 | || --exe_path || Path to openvpn.exe. || |
| 263 | || --config_dir || Path to dir to search for config files in. || |
| 264 | || --ext_string || Extension on config files. || |
| 265 | || --log_dir || Path to dir where log files will be saved. || |
| 266 | || --priority_string || Priority string (See install.txt for more info). || |
| 267 | || --append_string || 1=Append to log file. 0=Truncate logfile when connecting. || |
| 268 | || --log_viewer || Path to log viewer. || |
| 269 | || --editor || Path to config editor. || |
| 270 | || --allow_edit || 1=Show Edit Config menu item. || |
| 271 | || --allow_service || 1=Show Service control menu. || |
| 272 | || --allow_password || 1=Show Change Password menu item. || |
| 273 | || --allow_proxy || 1=Show Proxy Settings menu. || |
| 274 | || --show_balloon || 0=Never, 1=At initial connect, 2=At every reconnect. || |
| 275 | || --service_only || 1=Enable Service Only mode. || |
| 276 | || --silent_connection || 1=Do not show the status dialog while connecting or non-critical warnings at startup. || |
| 277 | || --show_script_window || 0=Hide Script execution window, 1=Show it. || |
| 278 | || --passphrase_attempts || Number of passphrase attempts to allow. || |
| 279 | || --connectscript_timeout || Time to wait for connect script to finish. || |
| 280 | || --disconnectscript_timeout || Time to wait for disconnect script to finish. || |
| 281 | || --preconnectscript_timeout || Time to wait for preconnect script to finish. || |
| 282 | |
| 283 | Example: `openvpn-gui.exe --log_viewer c:/progra~1/baretail/baretail.exe` |