ojab/openvpn3

( forked from dsommers/openvpn3 )

Project ID: 99312

Description

OpenVPN 3 based client for Linux, built with modern Linux distributions in mind. OpenVPN 3 clients are mostly compatible with OpenVPN 2, but there are some features not yet present - like TAP device support and several other and lesser used features. If your configuration works with the OpenVPN Connect Android and iOS app, it will most likely function quite well as this client uses the same OpenVPN 3 Core Library as OpenVPN Connect.

UPDATE v11_beta was released November 2nd, 2020 - this release includes a tech-preview of a kernel based OpenVPN module

Installation Instructions

The easiest install method is to ensure the yum/dnf copr plug-in is installed. Then you can do:

# yum copr enable dsommers/openvpn3 # yum install openvpn3-client

Once installed, there are two programs which any user on the system can use to start and manage OpenVPN tunnels. openvpn2 provides a simple command line client which tries to behave more like the traditional openvpn command line version.

$ openvpn2 --config my-vpn-config.conf --verb 6

If your VPN configuration does not contain --daemon, the log will appear in the console and the connection can be torn down via CTRL-C. To take advantage of the more advanced features look at theopenvpn3command line tool. Both openvpn2 and openvpn3 provides a fairly informative --help feature, in addition to man pages. The generic openvpn3-linux information can be found in the openvpn3-linux(7) man page.

Logging

Logging is by default being sent to syslog. The verbosity level can be adjusted via the openvpn3-admin log-service command, which must be run as root. Log entries will be found in either /var/log/messages or journalctl -u dbus. In addition each user starting VPN tunnels can also use the openvpn3 log feature to retrieve log data for a specific tunnel, without going via the the system log.

Quick-start guide:

A slightly more informative "getting started" guide can be found here: https://community.openvpn.net/openvpn/wiki/OpenVPN3Linux#Quickstart-howtouseOpenVPN3Linux

OpenVPN Data Channel Offload support (Fedora only, tech preview feature)

As of v11_beta, data channel offload (DCO) via a kernel module is now available as tech-preview. This is currently only available for Fedora via this repository.

To enable it, first install the ovpn-dco kernel module:

# yum install kmod-ovpn-dco

Then you must pre-import the configuration profile and activate the DCO mode on that config

$ openvpn3 config-import --config CLIENT_CONFIG --name CONFIG_NAME --persistent $ openvpn3 config-manage --show --config CONFIG_NAME --dco true

Now you can start the connection, with DCO active:

$ openvpn3 session-start --config CONFIG_NAME

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
EPEL 7 ppc64le (9)*, x86_64 (27)* EPEL 7 (19 downloads)
EPEL 8 aarch64 (15)*, ppc64le (21)*, s390x (22)*, x86_64 (41)* EPEL 8 (18 downloads)
EPEL 9 aarch64 (21)*, ppc64le (34)*, s390x (26)*, x86_64 (23)* EPEL 9 (16 downloads)
Fedora 37 aarch64 (18)*, ppc64le (9)*, s390x (13)*, x86_64 (34)* Fedora 37 (0 downloads)
Fedora 38 aarch64 (15)*, ppc64le (11)*, s390x (20)*, x86_64 (365)* Fedora 38 (69 downloads)
Fedora 39 aarch64 (18)*, ppc64le (10)*, s390x (10)*, x86_64 (2195)* Fedora 39 (275 downloads)
Fedora 40 aarch64 (4)*, ppc64le (0)*, s390x (0)*, x86_64 (11)* Fedora 40 (9 downloads)
Fedora rawhide aarch64 (5)*, ppc64le (5)*, s390x (5)*, x86_64 (4)* Fedora rawhide (21 downloads)

* Total number of downloaded packages.

External Repository List

The following repositories are accessible during builds