Changes between Initial Version and Version 1 of OpenVPN-GUI


Ignore:
Timestamp:
05/31/13 20:20:42 (11 years ago)
Author:
JoshC
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OpenVPN-GUI

    v1 v1  
     1= OpenVPN GUI (for Windows) =
     2
     3The official OpenVPN release for Windows ships with a GUI frontend called simply "OpenVPN-GUI" and can be found in the `.\bin\` subdirectory of the installation path. This wiki page describes how to use this GUI frontend.
     4
     5The GUI lives in the system tray, so controlling one or more VPN processes is always done through the context menu of the GUI icon. When the GUI is launched, nothing will happen beyond placing the icon in the tray. To do something useful with the GUI, you need to interact with it by right-clicking to bring up the context menu.
     6
     7'''Please note''' the GUI will start the VPN process in the context of the running user. When this user does not have administrative rights (or has rights limited through UAC) it will most likely fail to correctly start the VPN as routes and addressing cannot be changed by unprivileged users.
     8
     9When starting the OpenVPN GUI, the standard Windows practice of right-clicking on the shortcut and selecting "Run As Administrator" will allow a UAC user to run it in administrative context. If the user lacks admin rights, it will be necessary to "Run As..." and enter credentials for an administrative user. Once started in this fashion, further interaction via the tray icon will be run in the context of the elevated user.
     10
     11== Creating and placing config files ==
     12
     13By default, the GUI will present context entries to connect to any `*.ovpn` file under the `.\config\` dir of the installation path (including subfolders.) If desired, this can be changed via registry key at `HKLM\SOFTWaRE\OpenVPN-GUI` under the key `config_dir`. If you do not place any config files here, the context menu in the GUI will not allow you to connect anywhere (since it has nowhere to connect to.)
     14
     15== Screenshot series demonstrating use ==
     16
     17The screenshots below demonstrate use of the OpenVPN-GUI, step-by-step.
     18
     19=== After Startup ===
     20
     21After initially launching the OpenVPN-GUI program, the GUI icon will be show in the tray, as shown in the image below. Note that this icon can be hidden when marked "inactive" by the OS, so check the expanding arrows to the left of the system tray if it's started but not shown.
     22[[Image(tray_icon.png)]]
     23
     24=== Context Menu ===
     25
     26Right-clicking on the icon will pull up the context menu. This menu will allow you to connect any of the config files placed as explained above. '''Note''' that you must name these files with the .ovpn file extension. Windows has a bad habit of hiding "known" file extensions, so be careful not to name a config file something like `Sample.ovpn.txt` by mistake.
     27
     28Thee screenshots below show the following context menu samples:
     29
     301) Context menu when no config files are present:
     31[[Image(context_no_config.png)]]
     32
     332) Context menu with a single config present:
     34[[Image(disconnected_context.png)]]
     35
     363) Context menu with multiple configs present:
     37[[Image(multi_config_context_full.png)]]
     38
     39=== Connecting and Disconnecting ===
     40
     41Once you have created a config file, going into the context menu and selecting the "Connect" entry will start openvpn on that config file. A status window will open up showing the log output while the connection attempt is in progress (see first screenshot below.) After successful connection, the status window will be hidden, but can be viewed from the context menu if desired.
     42
     43Once connected, the context menu will allow that VPN to be disconnected; select that option to terminate the active connection.
     44
     45Screenshot showing an active connection attempt:
     46[[Image(connecting_status.png)]]
     47
     48Screenshot showing the context menu for an actively-connected VPN:
     49[[Image(connected_context.png)]]
     50
     51When one or more VPN instances are running from the GUI, the tray icon will change color to indicate this:
     52[[Image(connected_icon.png)]]
     53
     54== Advanced Features ==
     55
     56It is normally not necessary to use some of these advanced features, but they are described briefly below.
     57
     58=== Setting a proxy ===
     59
     60If a system proxy is required for outbound access to the Internet and the OpenVPN transport must use this proxy in order to send outbound data, the proxy settings under the `Settings` menu item can adjust this. By default, OpenVPN uses a proxy only if it was specified in the config file, but the GUI allows proxy settings to be used based on the system proxy, or a manually-defined proxy.
     61
     62=== Change private key passphrase ===
     63
     64If a private key is specified in the configuration, the `Change Password` selection in the context menu will allow a new passphrase to be specified.