Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details
openvpn Secure IP/Ethernet tunnel daemon
2.7.8 security Σ=132 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.7.8Version of this port present on the latest quarterly branch.
Maintainer: mandree@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2002-06-24 16:19:12
Last Update: 2026-10-10 04:01:37
Commit Hash: 4fbd626
People watching this port, also watch: sudo, unzip, nmap, rsync, gmake
Also Listed In: net net-vpn
License: GPLv2
WWW:
https://openvpn.net/community/
Description: #
OpenVPN is a robust, scalable and highly configurable VPN (Virtual Private Network) daemon which can be used to securely link two or more private networks using an encrypted tunnel over the internet. It can operate over UDP or TCP, can use SSL or a pre-shared secret to authenticate peers, and in SSL mode, one server can handle many clients.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages: #
pkg-plist: as obtained via: make generate-plist #
Expand this list (15 items)
Collapse this list.
  1. /usr/local/share/licenses/openvpn-2.7.8/catalog.mk
  2. /usr/local/share/licenses/openvpn-2.7.8/LICENSE
  3. /usr/local/share/licenses/openvpn-2.7.8/GPLv2
  4. include/openvpn-msg.h
  5. include/openvpn-plugin.h
  6. lib/openvpn/plugins/openvpn-plugin-auth-pam.so
  7. lib/openvpn/plugins/openvpn-plugin-down-root.so
  8. libexec/openvpn/dns-updown
  9. share/man/man5/openvpn-examples.5.gz
  10. share/man/man8/openvpn.8.gz
  11. sbin/openvpn
  12. sbin/openvpn-client
  13. @owner
  14. @group
  15. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • openvpn
Dependency lines:
  • openvpn>0:security/openvpn
Conflicts: #
CONFLICTS_INSTALL:
  • openvpn-devel
To install the port: #
cd /usr/ports/security/openvpn/ && make install clean
To add the package, run one of these commands:
  • pkg install security/openvpn
  • pkg install openvpn
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: openvpn
Flavors: there is no flavor information for this port. #
distinfo: #
TIMESTAMP = 1791586110 SHA256 (openvpn-2.7.8.tar.gz) = c070d1d2440b5a6fca6c2c68645c98cd492116ac36ef4f0946177115532c8e36 SIZE (openvpn-2.7.8.tar.gz) = 2123466

Packages (timestamps in pop-ups are UTC): #
openvpn
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest2.7.82.7.82.5.82.6.14_12.7.8
FreeBSD:14:quarterly2.7.82.7.8-2.6.142.7.8
FreeBSD:15:latest2.7.82.7.8n/a-n/a
FreeBSD:15:quarterly2.7.82.7.8n/a-n/a
FreeBSD:16:latest2.7.72.7.8n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. cmocka>=0 : sysutils/cmocka
  2. rst2man : textproc/py-docutils@py312
  3. pkgconf>=1.3.0_1 : devel/pkgconf
  4. python3.12 : lang/python312
Test dependencies: #
  1. fping : net/fping
Runtime dependencies: #
  1. easy-rsa>=0 : security/easy-rsa
Library dependencies: #
  1. liblz4.so : archivers/liblz4
  2. liblzo2.so : archivers/lzo2
  3. libpkcs11-helper.so : security/pkcs11-helper
This port is required by: #
for Build #
  1. security/openvpn-auth-ldap
  2. security/openvpn-auth-script
for Run #
  1. security/duo_openvpn
  2. security/openvpn-admin
  3. security/openvpn-auth-radius

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. security/kovpn*
  2. security/protonvpn-cli*
  3. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options: #
===> The following configuration options are available for openvpn-2.7.8: ASYNC_PUSH=off: Enable async-push support DCO=on: Data Channel Offload/ovpn(4) support->README.dco.md DOCS=on: Build and/or install documentation EASYRSA=on: Install security/easy-rsa RSA helper package EXAMPLES=on: Build and/or install examples LZ4=on: LZ4 compression support LZO=on: LZO compression (incompatible with LibreSSL) PKCS11=on: Use security/pkcs11-helper, needs same SSL lib! SMALL=off: Build a smaller executable with fewer features TEST=on: Build and/or run tests UNITTESTS=off: Enable unit tests X509ALTUSERNAME=off: Enable --x509-username-field ===> Use 'make config' to modify these settings
Options name: #
security_openvpn
USES: #
cpe libtool localbase:ldflags pkgconfig python:build shebangfix ssl
FreshPorts was unable to extract/find any pkg message #
Master Sites: #
Expand this list (2 items)
Collapse this list.
  1. https://build.openvpn.net/downloads/releases/
  2. https://swupdate.openvpn.org/community/releases/
Collapse this list.
Notes from UPDATING #
These upgrade notes are taken from /usr/ports/UPDATING
  • 2026-04-01
    Affects: users of security/openvpn
    Author: mandree@FreeBSD.org
    Reason: 
      The openvpn 2.7 port update no longer installs the openvpn-client.up
      and openvpn-client.down scripts into libexec/, but instead a
      dns-updown script into libexec/openvpn/.
      Review your configuration, and the openvpn man page for --dns-updown.
    
    
Expand this list (1 items)
  • 2023-01-27
    Affects: users of security/openvpn
    Author: mandree@freebsd.org
    Reason: 
      OpenVPN has been updated to the new upstream release v2.6.0, which
      is quite compatible with v2.5 versions.
    
      A copy of the latest v2.5.8 port is being kept as security/openvpn25 (or
      openvpn25 package) until end of March 2023.
    
    
  • Collapse this list.
Port Moves
  • port moved here from security/openvpn25 on 2023-03-31
    REASON: Has expired: replaced by new upstream release 2.6.0

Number of commits found: 236 (showing only 36 on this page) #

«  1 | 2 | 3 

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.0.6_5
23 Feb 2007 08:38:53
Original commit files touched by this commit This port version is marked as vulnerable.
vd search for other commits by this committer
* Add support for running multiple instances of openvpn to the startup script
  Inspired by [1]
* Bump PORTREVISION
* Update the comment which says not to send notices about 2.0.8 to 2.0.9 since
  2.0.9 also introduces only Windows changes. Remove maintainer's name from
  this comment since he did not explicitly state this.

PR:             ports/108371 [1]
Submitted by:   Denis Shaposhnikov <dsh@vlink.ru>, Gleb Kozyrev
<gkozyrev@gmail.com> [1]
Approved by:    matthias.andree@gmx.de (maintainer timeout, 28 days)
2.0.6_4
04 Feb 2007 19:14:20
Original commit files touched by this commit This port version is marked as vulnerable.
rafan search for other commits by this committer
- Use newly added RC_SUBR_SUFFIX

Approved by:    Matthias Andree <matthias.andree at gmx.de> (maintainer)
2.0.6_4
02 Oct 2006 17:47:32
Original commit files touched by this commit This port version is marked as vulnerable.
alepulver search for other commits by this committer
- Fix build failures that arose from an accidentally omitted -fPIC.
- Portrevision bumped since the change affects all architectures,
  not just those that were failing.

PR:             ports/103863
Submitted by:   Matthias Andree <matthias.andree@gmx.de> (maintainer)
Reported by:    pointyhat
2.0.6_3
30 Sep 2006 07:48:24
Original commit files touched by this commit This port version is marked as vulnerable.
rafan search for other commits by this committer
- Install additional auth-pam plugin

PR:             ports/103833
Submitted by:   Matthias Andree <matthias.andree at gmx.de> (maintainer)
Suggested by:   Michael Helmeste
Tested by:      Michael Helmeste
2.0.6_2
14 Sep 2006 01:22:01
Original commit files touched by this commit This port version is marked as vulnerable.
rafan search for other commits by this committer
- Update comments for OpenVPN 2.0.8

PR:             ports/103243
Submitted by:   Matthias Andree <matthias.andree at gmx.de> (maintainer)
2.0.6_2
20 Aug 2006 07:06:37
Original commit files touched by this commit This port version is marked as vulnerable.
itetcu search for other commits by this committer
- conflicts with openvpn-devel-[0-9]*
- bump PORTREVISION

PR:             ports/102301
Submitted by:   Matthias Andree (maintainer)
2.0.6_1
28 Jul 2006 09:56:54
Original commit files touched by this commit This port version is marked as vulnerable.
itetcu search for other commits by this committer
1 - build and install lib/openvpn-down-root.so plugin (see --plugin option in
    the man page) and README.openvpn-down-root
2 - match rc.d filename as printed post install in pkg-message to actual file
    name on newer systems (which use openvpn rather than openvpn.sh)
Reported by:    Jean-Baptiste Quenot (Bcc'd)
The maintainer wishes to thank Jean-Baptiste for his report and patience.
3 - add a pkg-req script to prevent installation of 6.1 packages on older
    machines, which is a frequent source of "rc.d script doesn't work"
    complaints.

Added file(s):
- files/pkg-req.in

PR:             ports/100917
Submitted by:   Matthias Andree (maintainer)
2.0.6
27 Apr 2006 12:53:55
Original commit files touched by this commit This port version is marked as vulnerable.
garga search for other commits by this committer
Add a message explaining why it won't be upgraded to 2.0.7 version, to
prevent a lot of people asking maintainer about it:

# -----------------------------------------------------
# DO NOT BOTHER TO SEND NOTICES ABOUT 2.0.7 AS IT FIXES
# A WINDOWS-ONLY BUG THAT DOESN'T AFFECT *BSD AND THUS
# DOES NOT WARRANT A PORT UPGRADE! AND UPGRADE REQUESTS
# WILL BE DROPPED.       -- Matthias Andree, 2006-04-26
# -----------------------------------------------------

PR:             ports/96383
Submitted by:   maintainer
2.0.6
05 Apr 2006 14:57:25
Original commit files touched by this commit This port version is marked as vulnerable.
garga search for other commits by this committer
- Update to 2.0.6
  * security fix for client LD_PRELOAD code injection vulnerability
    through compromised upstream servers
    (FreeBSD VuXML Vuln VID be4ccb7b-c48b-11da-ae12-0002b3b60e4c,
     filed in separate PR)
    CVE id not known yet
  * 2 other changes only relevant for Linux and NetBSD, not detailed here.

PR:             ports/95345
Submitted by:   maintainer
Security:       VuXML be4ccb7b-c48b-11da-ae12-0002b3b60e4c
2.0.5_1
28 Feb 2006 16:25:43
Original commit files touched by this commit This port version is marked as vulnerable.
vd search for other commits by this committer
Fix FreeBSD 4 jail build

PR:             ports/93833
Patch by:       dinoex
Submitted by:   Matthias Andree <matthias.andree@gmx.de> (maintainer)
Approved by:    portmgr (marcus)
2.0.5_1
20 Feb 2006 20:47:50
Original commit files touched by this commit This port version is marked as vulnerable.
dougb search for other commits by this committer
Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2.0.5_1
10 Nov 2005 15:05:42
Original commit files touched by this commit This port version is marked as vulnerable.
garga search for other commits by this committer
- CATEGORY CHANGE: add "net" secondary category
- fix jail build on FreeBSD 4 (no security.jail.jailed oid in sysctl)
- catch jail IP misconfiguration and print clear error message
- add SHA256 checksum
- revise pkg-message and pkg-descr

PR:             ports/88785
Submitted by:   maintainer
2.0.5_1
05 Nov 2005 01:24:15
Original commit files touched by this commit This port version is marked as vulnerable.
mnag search for other commits by this committer
Enables self-tests with WITH_JAIL
Bump PORTREVISION

PR:             88488
Submitted by:   Matthias Andree <matthias.andree@gmx.de> (maintainer)
2.0.5
03 Nov 2005 15:22:44
Original commit files touched by this commit This port version is marked as vulnerable.
garga search for other commits by this committer
- Update to 2.0.5

PR:             ports/88437
Submitted by:   maintainer
2.0.4
02 Nov 2005 01:52:51
Original commit files touched by this commit This port version is marked as vulnerable.
mnag search for other commits by this committer
Update to 2.0.4

PR:             88379
Submitted by:   Matthias Andree <matthias.andree@gmx.de> (maintainer)
Security:       CVE-2005-3393, CVE-2005-3409
2.0.2_1
25 Oct 2005 08:03:55
Original commit files touched by this commit This port version is marked as vulnerable.
dinoex search for other commits by this committer
- fix build in jail

maintainer emailed 2005-10-04
Approved by:    (maintainer timeout)
2.0.2_1
18 Sep 2005 12:01:57
Original commit files touched by this commit This port version is marked as vulnerable.
vs search for other commits by this committer
FreeBSD 6 no longer adds debug.if_* sysctl variables in its default kernel
(according to the release notes), so our heuristic assumes the module is
missing and tries to load it, which fails as the module already exists.

PR:             ports/86286
Submitted by:   maintainer
2.0.2
29 Aug 2005 18:52:19
Original commit files touched by this commit This port version is marked as vulnerable.
garga search for other commits by this committer
- Update to 2.0.2 that brings these upstream changes:

  - fix bug that would exhaust file descriptors as the routing table was
modified
    (this had already been part of the port previously)
  - fix bug that would block the management socket until the peer connected
  - fix pkitool sh incompatibilities (from NetBSD)

PR:             ports/85299
Submitted by:   maintainer
2.0.1_1
22 Aug 2005 10:31:35
Original commit files touched by this commit This port version is marked as vulnerable.
garga search for other commits by this committer
Fix a typo in the new rc file, where documentation didn't match the
actual variables.

PR:             ports/85156
Submitted by:   maintainer
Reported by:    Benjamin Lutz <benlutz@datacomm.ch>
Approved by:    portmgr (krion)
2.0.1
19 Aug 2005 18:48:34
Original commit files touched by this commit This port version is marked as vulnerable.
garga search for other commits by this committer
- Security update to version 2.0.1, fixing four denial of service bugs,
  CAN-2005-2531, CAN-2005-2532, CAN-2005-2533, CAN-2005-2534
- Drop old init script and add a modern rcNG script in its place,
  requested by Matthias Grimm and Dirk Gouders (although the script below is
  one I, Matthias Andree, wrote). It can automatically load tun/tap drivers.
- move pkg-message to files/pkg-message.in, revise it, list it in SUB_FILES
  to expand ${PREFIX}.
- print pkg-message after installation from port
- switch to official "make check" as smoke-test, rather than wiring our own.
- prefer LZO2 in most situations, as OpenVPN will pick up LZO2 rather than
  LZO1 if both are installed.

PR:             ports/85109
Submitted by:   maintainer
Approved by:    portmgr (krion)
2.0_3
14 Jul 2005 13:15:47
Original commit files touched by this commit This port version is marked as vulnerable.
garga search for other commits by this committer
Add PW_PASS option to compile with --enable-pass-save

PR:             82494
Submitted by:   Landon Fuller <landonf@threerings.net>
Reviewed by:    Matthias Andree <matthias.andree@gmx.de> (maintainer)
Approved by:    mantainer, flz (mentor)
2.0_3
31 May 2005 19:58:33
Original commit files touched by this commit This port version is marked as vulnerable.
flz search for other commits by this committer
- Backout latest commit, it needs a repocopy due to API change.

Noticed by:     Matthias Andree <matthias.andree@gmx.de>
2.0_2
31 May 2005 17:57:11
Original commit files touched by this commit This port version is marked as vulnerable.
flz search for other commits by this committer
- Bump lzo lib version.
- Bump PORTREVISION.
2.0_1
19 May 2005 16:22:21
Original commit files touched by this commit This port version is marked as vulnerable.
vs search for other commits by this committer
Plug socket (file descriptor) leak.

PR:             ports/81267
Submitted by:   Jaroslav Klaus via maintainer
2.0
24 Apr 2005 13:26:52
Original commit files touched by this commit This port version is marked as vulnerable.
vs search for other commits by this committer
Revise pkg-message to mark more prominently that the default
port is now 1194 rather than 5000, and refer users to the
online release notes if looking for information WRT older versions.

PR:             80300
Submitted by:   maintainer
2.0
21 Apr 2005 14:04:41
Original commit files touched by this commit This port version is marked as vulnerable.
jylefort search for other commits by this committer
Update to 2.0

PR:             ports/80082
Submitted by:   Matthias Andree <matthias.andree@gmx.de> (maintainer)
Approved by:    adamw (mentor, implicit)
1.6.0
03 Sep 2004 16:17:04
Original commit files touched by this commit This port version is marked as vulnerable.
vs search for other commits by this committer
Add CONFLICTS with openvpn-devel

PR:             ports/71337
Submitted by:   maintainer
1.6.0
10 May 2004 15:51:24
Original commit files touched by this commit This port version is marked as vulnerable.
vs search for other commits by this committer
Update to latest stable version.

PR:             ports/66473
Submitted by:   Matthias Andree (maintainer)
1.5.0
18 Mar 2004 02:27:55
Original commit files touched by this commit This port version is marked as vulnerable.
trevor search for other commits by this committer
Add size data.

Approved by:    maintainers
1.5.0
21 Nov 2003 12:19:01
Original commit files touched by this commit This port version is marked as vulnerable.
krion search for other commits by this committer
- Support for TCP as the tunnel transport was added
- Change maintainer email

PR:             59543
Submitted by:   maintainer
1.4.2
18 Jul 2003 00:16:06
Original commit files touched by this commit This port version is marked as vulnerable.
leeym search for other commits by this committer
updates the OpenVPN port from 1.4.0 to 1.4.2.

PR:             54597
Submitted by:   Matthias Andree <matthias.andree@gmx.de>
1.4.0
09 May 2003 07:34:00
Original commit files touched by this commit This port version is marked as vulnerable.
ijliao search for other commits by this committer
upgrade to 1.4.0

PR:             51956
Submitted by:   maintainer
1.3.2
21 Feb 2003 13:26:58
Original commit files touched by this commit This port version is marked as vulnerable.
knu search for other commits by this committer
De-pkg-comment.
1.3.2
25 Oct 2002 20:55:29
Original commit files touched by this commit This port version is marked as vulnerable.
obraun search for other commits by this committer
* Upgrade to 1.3.2.
* Add init script.

PR:             44436
Submitted by:   maintainer
1.3.0
11 Jul 2002 16:51:06
Original commit files touched by this commit This port version is marked as vulnerable.
ijliao search for other commits by this committer
upgrade to 1.3.0

PR:             40424
Submitted by:   maintainer
1.2.1
24 Jun 2002 16:13:10
Original commit files touched by this commit This port version is marked as vulnerable.
pat search for other commits by this committer
Add new port openvpn: Secure IP/Ethernet tunnel daemon

PR:             ports/39750
Submitted by:   Matthias Andree <matthias.andree@web.de>

Number of commits found: 236 (showing only 36 on this page)

«  1 | 2 | 3