All Projects → OpenVPN → Openvpn Gui

OpenVPN / Openvpn Gui

Licence: other
OpenVPN GUI is a graphical frontend for OpenVPN running on Windows 7 / 8 / 10. It creates an icon in the notification area from which you can control OpenVPN to start/stop your VPN tunnels, view the log and do other useful things.

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Openvpn Gui

nordvpn
NordVpn Docker Client
Stars: ✭ 475 (-41.93%)
Mutual labels:  vpn-client
Macosvpn
🔧 Create macOS VPNs programmatically (L2TP & Cisco)
Stars: ✭ 348 (-57.46%)
Mutual labels:  vpn-client
Openvpn3
OpenVPN 3 is a C++ class library that implements the functionality of an OpenVPN client, and is protocol-compatible with the OpenVPN 2.x branch.
Stars: ✭ 510 (-37.65%)
Mutual labels:  vpn-client
desktop-app-daemon
Official IVPN Desktop app (service)
Stars: ✭ 34 (-95.84%)
Mutual labels:  vpn-client
Vpn Slice
vpnc-script replacement for easy and secure split-tunnel VPN setup
Stars: ✭ 335 (-59.05%)
Mutual labels:  vpn-client
Networkmanager L2tp
L2TP and L2TP/IPsec support for NetworkManager
Stars: ✭ 382 (-53.3%)
Mutual labels:  vpn-client
Gear-VPN
A VPN client for Android based on OpenVPN made with Jetpack Compose.
Stars: ✭ 55 (-93.28%)
Mutual labels:  vpn-client
Node
Mysterium Network Node - official implementation of distributed VPN network (dVPN) protocol
Stars: ✭ 681 (-16.75%)
Mutual labels:  vpn-client
Pi Hole On Google Compute Engine Free Tier With Full Tunnel And Split Tunnel Wireguard Vpn Configs
Run your own privacy-first ad blocking service at home, or in the cloud for free with Google Cloud Services.
Stars: ✭ 343 (-58.07%)
Mutual labels:  vpn-client
Algo
Set up a personal VPN in the cloud
Stars: ✭ 24,275 (+2867.6%)
Mutual labels:  vpn-client
android
Android eduVPN application
Stars: ✭ 80 (-90.22%)
Mutual labels:  vpn-client
Android Vpn Client Ics Openvpn
⭐ Create your Android VPN App by using Android Studio and publish to Google Play Store 🤖
Stars: ✭ 270 (-66.99%)
Mutual labels:  vpn-client
Fanqiang Vpn.github.io
2021年 中国翻墙软件、VPN推荐指南,对比VPS搭建梯子、SSR机场、蓝灯、WireGuard、V2ray、老王VPN等科学上网软件与翻墙方法,中国最新科学上网翻墙VPN梯子下载推荐,稳定好用。
Stars: ✭ 390 (-52.32%)
Mutual labels:  vpn-client
KidVPN
The world's smallest VPN server and client.
Stars: ✭ 63 (-92.3%)
Mutual labels:  vpn-client
Openconnect
OpenConnect client extended to support Palo Alto Networks' GlobalProtect VPN
Stars: ✭ 654 (-20.05%)
Mutual labels:  vpn-client
iosvpn.github.io
iPhone和iOS 翻墙梯子VPN推荐,2022中国苹果手机iPhone翻墙软件和科学上网避坑指南,稳定梯子推荐。
Stars: ✭ 72 (-91.2%)
Mutual labels:  vpn-client
Gluetun
VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN, DNS over TLS, with a few proxy servers built-in.
Stars: ✭ 346 (-57.7%)
Mutual labels:  vpn-client
Pritunl Client Electron
Pritunl OpenVPN client
Stars: ✭ 772 (-5.62%)
Mutual labels:  vpn-client
Aws Vpn Server Setup
Setup your own private, secure, free* VPN on the Amazon AWS Cloud in 10 minutes. CloudFormation
Stars: ✭ 672 (-17.85%)
Mutual labels:  vpn-client
Docker Ipsec Vpn Server
Docker image to run an IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
Stars: ✭ 4,356 (+432.52%)
Mutual labels:  vpn-client

OpenVPN GUI ##################################################### .. image:: https://travis-ci.org/OpenVPN/openvpn-gui.svg?branch=master :target: https://travis-ci.org/OpenVPN/openvpn-gui :alt: TravisCI status .. image:: https://ci.appveyor.com/api/projects/status/github/OpenVPN/openvpn-gui?branch=master&svg=true :target: https://ci.appveyor.com/project/mattock/openvpn-gui :alt: AppVeyor status

Installation Instructions for OpenVPN GUI for Windows #####################################################

OpenVPN-GUI has been bundled with OpenVPN installers for a long time, so there is rarely a need to install it separately. Bleeding-edge versions of OpenVPN-GUI are available in OpenVPN snapshot installers <http://build.openvpn.net/downloads/snapshots/>_ based on Git master branch. OpenVPN-GUI gets installed by default in all OpenVPN installers.

Installation using the official OpenVPN installers


  • Download an OpenVPN installer <https://openvpn.net/index.php/open-source.html>_

  • If you have a previous version of OpenVPN GUI running, shut it down. Make sure it's closed by ALL logged on users.

  • Run the OpenVPN installer

Manual installation of OpenVPN GUI


  • Download <https://openvpn.net/index.php/download/community-downloads.html>_ and install OpenVPN

  • Download OpenVPN GUI of your choice and save it in OpenVPN's bin folder. Default is C:\Program Files\OpenVPN\bin\. You must put it in this folder because OpenVPN GUI depends on the OpenSSL DLLs installed in this folder by OpenVPN.

Configuring OpenVPN GUI to start on Windows logon


OpenVPN GUI can be configured to start automatically on logon to Windows from its setting menu. This is default behavior for all users if OpenVPN GUI was installed by an OpenVPN 2.4 installer using default installer options.

Adding an OpenVPN configuration file


To launch a VPN connections using OpenVPN GUI you need to add an OpenVPN configuration file with .ovpn suffix. Any text editor (e.g. notepad.exe) can be used to create a OpenVPN configuration files. Note that log and log-append options are ignored as OpenVPN GUI redirects the normal output to a log file itself. There are sample config files in the sample-config folder. Please refer to the OpenVPN project homepage <https://openvpn.net>_ for more information regarding creating the configuration file.

Once the configuration file is ready, you need to let OpenVPN GUI know about it. There are three ways to do this:

  • Place the file into the system-wide location, usually C:\Program Files\OpenVPN\config\, or any of its immediate subdirectories. This VPN connection will be visible for all users of the system.
  • Place the file into C:\Users\username\OpenVPN\config\, or any of its immediate subdirectories. The configuration file is only visible for the user in question. If the user is not a member of the built-in "Administrators" group or "OpenVPN Administrators" group and tries to launch such a connection, OpenVPN GUI pops up a UAC, offering to create the latter group (if missing) and to add the user to it. This will only work if admin-level credentials are available.
  • Use the "Import file" function in OpenVPN GUI itself

Using OpenVPN GUI #################

When OpenVPN GUI is started your OpenVPN config folders (C:\Users\username\OpenVPN\config and C:\Program Files\OpenVPN\config) will be scanned for .ovpn files and the OpenVPN GUI icon will appear in the system tray. Each OpenVPN configuration file shows up as a separate menu item in the OpenVPN GUI tray, allowing you to selectively connect to and disconnect to your VPNs. The config dir will be re-scanned for new config files every time you open the OpenVPN GUI menu by right-clicking the icon.

When you choose to connect to a site OpenVPN GUI will launch openvpn with the specified config file. If you use a passphrase protected key you will be prompted for the passphrase.

If you want OpenVPN GUI to start a connection automatically when it's started, you can use the --connect cmd-line option. The extension of the config file may be optionally included. Example::

openvpn-gui --connect office.ovpn
OR
openvpn-gui --connect office

To get help with OpenVPN GUI please use one of the official OpenVPN support channels <https://community.openvpn.net/openvpn/wiki/GettingHelp>_.

Running OpenVPN GUI as a Non-Admin user


OpenVPN 2.3.x and earlier bundle an OpenVPN GUI version (< 11) which has to be run as admin for two reasons

  • OpenVPN GUI registry keys are stored in system-wide location under HKEY_LOCAL_MACHINE, and they are generated when OpenVPN GUI was launched the first time
  • OpenVPN itself requires admin-level privileges to modify network settings

OpenVPN GUI 11 and later can make full use of the Interactive Service functionality in recent versions of OpenVPN. This changes a number of things:

  • OpenVPN GUI can store its settings in user-specific part of the registry under HKEY_CURRENT_USER
  • OpenVPN is able to delegate certain privileged operations, such as adding routes, to the Interactive service, removing the need to run OpenVPN with admin privileges. Note that for this to work the OpenVPNServiceInteractive system service has to be enabled and running.

Run Connect/Disconnect/Preconnect Scripts


There are three different scripts that OpenVPN GUI can execute to help with different tasks like mapping network drives.

Preconnect If a file named "xxx_pre.bat" exist in the config folder where xxx is the same as your OpenVPN config file name, this will be executed BEFORE the OpenVPN tunnel is established.

Connect If a file named "xxx_up.bat" exist in the config folder where xxx is the same as your OpenVPN config file name, this will be executed AFTER the OpenVPN tunnel is established.

Disconnect If a file named "xxx_down.bat" exist in the config folder where xxx is the same as your OpenVPN config file name, this will be executed BEFORE the OpenVPN tunnel is closed.

The outputs of these scripts are redirected to "xxx_pre.log", "xxx_up.log" and "xxx_down.log" respectively. These log files are created in the log_dir and over-written during each evocation.

Send Commands to a Running Instance of OpenVPN GUI


When an instance of the GUI is running, certain commands may be sent to it using the command line interface using the following syntax::

openvpn-gui.exe --command *cmd* [*args*]

Currently supported cmds are

connect config-name Connect the configuration named config-name (excluding the extension .ovpn). If already connected, show the status window.

disconnect config-name Disconnect the configuration named config-name if connected.

reconnect config-name Disconnect and then reconnect the configuration named config-name if connected.

disconnect_all Disconnect all active connections.

silent_connection 0 | 1 Set the silent connection flag on (1) or off (0)

exit Disconnect all active connections and terminate the GUI process

rescan Rescan the config folders for changes

If no running instance of the GUI is found, these commands do nothing except for --command connect config-name which gets interpreted as --connect config-name

Registry Values affecting the OpenVPN GUI operation


Parameters taken from the global registry values in HKEY_LOCAL_MACHINE\SOFTWARE\OpenVPN\ key

(Default) The installation directory of openvpn (e.g., C:\Program Files\OpenVPN). This value must be present.

config_dir The global configuration file directory. Defaults to C:\Program Files\OpenVPN\config

exe_path path to openvpn.exe, defaults to C:\Program Files\OpenVPN\bin\openvpn.exe

priority the windows priority class for each instantiated OpenVPN process, can be one of:

* IDLE_PRIORITY_CLASS
* BELOW_NORMAL_PRIORITY_CLASS
* NORMAL_PRIORITY_CLASS (default)
* ABOVE_NORMAL_PRIORITY_CLASS
* HIGH_PRIORITY_CLASS

ovpn_admin_group The windows group whose membership allows the user to start any configuration file in their profile (not just those installed by the administrator in the global config directory). Default: "OpenVPN Administrators".

disable_save_passwords Set to a nonzero value to disable the password save feature. Default: 0

User Preferences


All other OpenVPN GUI registry values are located below the HKEY_CURRENT_USER\SOFTWARE\OpenVPN-GUI\ key. In a fresh installation none of these values are present and are not required for the operation of the program. These keys are only used for persisting user's preferences, and the key names and their values are subject to change.

The user is not expected to edit any of these values directly. Instead, edit all preferences using the settings menu.

config_dir The user-specific configuration file directory: defaults to C:\Users\username\OpenVPN\config. The GUI parses this directory for configuration files before parsing the global config_dir.

config_ext file extension on configuration files, defaults to ovpn

connectscript_timeout Time in seconds to wait for the connect script to finish. If set to 0 the exitcode of the script is not checked.

disconnectscript_timeout Time in seconds to wait for the disconnect script to finish. Must be a value between 1-99.

preconnectscript_timeout Time in seconds to wait for the preconnect script to finish. Must be a value between 1-99.

log_dir log file directory, defaults to C:\Users\username\OpenVPN\log

log_append if set to "0", the log file will be truncated every time you start a connection. If set to "1", the log will be appended to the log file.

silent_connection If set to "1", the status window with the OpenVPN log output will not be shown while connecting. Warnings such as interactive service not started or multiple config files with same name are also suppressed.

service_only If set to "1", OpenVPN GUI's normal "Connect" and "Disconnect" actions are changed so they start/stop the OpenVPN service instead of launching openvpn.exe directly.

show_balloon 0: Never show any connected balloon

1: Show balloon after initial connection is established

2: Show balloon even after re-connects

config_menu_view 0: Use a hierarchical (nested) display of config menu reflecting the directory sturcture of config files if the number of configs exceed 25, else use a flat display

1: Force flat menu

2: Force nested menu

management_port_offset The management interface port is chosen as this offset plus a connection specific index. Allowed values: 1 to 61000, defaults to 25340.

All of these registry options are also available as cmd-line options. Use "openvpn-gui --help" for more info about cmd-line options.

Building OpenVPN GUI from source ################################

See BUILD.rst <BUILD.rst>_ for build instructions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].