xref: /freebsd/share/man/man4/ovpn.4 (revision ab91feabcc6f9da21d5c75028153af16d06e679a)
1*ab91feabSKristof Provost.\" Copyright (c) 2022 Rubicon Communications, LLC ("Netgate")
2*ab91feabSKristof Provost.\"
3*ab91feabSKristof Provost.\" Redistribution and use in source and binary forms, with or without
4*ab91feabSKristof Provost.\" modification, are permitted provided that the following conditions
5*ab91feabSKristof Provost.\" are met:
6*ab91feabSKristof Provost.\" 1. Redistributions of source code must retain the above copyright
7*ab91feabSKristof Provost.\"    notice, this list of conditions and the following disclaimer.
8*ab91feabSKristof Provost.\" 2. Redistributions in binary form must reproduce the above copyright
9*ab91feabSKristof Provost.\"    notice, this list of conditions and the following disclaimer in the
10*ab91feabSKristof Provost.\"    documentation and/or other materials provided with the distribution.
11*ab91feabSKristof Provost.\"
12*ab91feabSKristof Provost.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
13*ab91feabSKristof Provost.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
14*ab91feabSKristof Provost.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
15*ab91feabSKristof Provost.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
16*ab91feabSKristof Provost.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17*ab91feabSKristof Provost.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
18*ab91feabSKristof Provost.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
19*ab91feabSKristof Provost.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
20*ab91feabSKristof Provost.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
21*ab91feabSKristof Provost.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
22*ab91feabSKristof Provost.\" SUCH DAMAGE.
23*ab91feabSKristof Provost.\"
24*ab91feabSKristof Provost.Dd April 22, 2022
25*ab91feabSKristof Provost.Dt OVPN 4
26*ab91feabSKristof Provost.Os
27*ab91feabSKristof Provost.Sh NAME
28*ab91feabSKristof Provost.Nm ovpn
29*ab91feabSKristof Provost.Nd OpenVPN DCO driver
30*ab91feabSKristof Provost.Sh SYNOPSIS
31*ab91feabSKristof ProvostTo compile this driver into the kernel,
32*ab91feabSKristof Provostplace the following lines in your
33*ab91feabSKristof Provostkernel configuration file:
34*ab91feabSKristof Provost.Bd -ragged -offset indent
35*ab91feabSKristof Provost.Cd "device ovpn"
36*ab91feabSKristof Provost.Ed
37*ab91feabSKristof Provost.Pp
38*ab91feabSKristof ProvostAlternatively, to load the driver as a
39*ab91feabSKristof Provostmodule at boot time, place the following line in
40*ab91feabSKristof Provost.Xr loader.conf 5 :
41*ab91feabSKristof Provost.Bd -literal -offset indent
42*ab91feabSKristof Provostif_ovpn_load="YES"
43*ab91feabSKristof Provost.Ed
44*ab91feabSKristof Provost.Sh DESCRIPTION
45*ab91feabSKristof ProvostThe
46*ab91feabSKristof Provost.Nm
47*ab91feabSKristof Provostdevice driver provides support for OpenVPN DCO.
48*ab91feabSKristof ProvostDCO, or Data Channel Offload, moves the OpenVPN data path into the kernel.
49*ab91feabSKristof ProvostThis can improve performance.
50*ab91feabSKristof Provost.Pp
51*ab91feabSKristof ProvostThe
52*ab91feabSKristof Provost.Nm
53*ab91feabSKristof Provostinterface is created automatically by the OpenVPN daemon.
54*ab91feabSKristof ProvostIt requires no configuration other than that done by OpenVPN.
55