Project

General

Profile

Overview

pkg install openvpn

Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
All repositories are up to date.
The following 5 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
easy-rsa: 3.2.5_1,1 [FreeBSD-ports]
liblz4: 1.10.0_2,1 [FreeBSD-ports]
lzo2: 2.10_1 [FreeBSD-ports]
openvpn: 2.6.16 [FreeBSD-ports]
pkcs11-helper: 1.31.0 [FreeBSD-ports]

Number of packages to be installed: 5

The process will require 4 MiB more space.
1 MiB to be downloaded.

Proceed with this action? [y/N]: y
[vpnserver] [1/5] Fetching openvpn-2.6.16: 100% 638 KiB 653.5 k/s 00:01
[vpnserver] [2/5] Fetching liblz4-1.10.0_2,1: 100% 178 KiB 182.4 k/s 00:01
[vpnserver] [3/5] Fetching pkcs11-helper-1.31.0: 100% 104 KiB 106.5 k/s 00:01
[vpnserver] [4/5] Fetching lzo2-2.10_1: 100% 124 KiB 126.7 k/s 00:01
[vpnserver] [5/5] Fetching easy-rsa-3.2.5_1,1: 100% 80 KiB 81.4 k/s 00:01
Checking integrity... done (0 conflicting)
[vpnserver] [1/5] Installing easy-rsa-3.2.5_1,1...
[vpnserver] [1/5] Extracting easy-rsa-3.2.5_1,1: 100%
[vpnserver] [2/5] Installing liblz4-1.10.0_2,1...
[vpnserver] [2/5] Extracting liblz4-1.10.0_2,1: 100%
[vpnserver] [3/5] Installing lzo2-2.10_1...
[vpnserver] [3/5] Extracting lzo2-2.10_1: 100%
[vpnserver] [4/5] Installing pkcs11-helper-1.31.0...
[vpnserver] [4/5] Extracting pkcs11-helper-1.31.0: 100%
[vpnserver] [5/5] Installing openvpn-2.6.16...
===> Creating groups
Creating group 'openvpn' with gid '301'
===> Creating users
Creating user 'openvpn' with uid '301'
[vpnserver] [5/5] Extracting openvpn-2.6.16: 100%

Message from easy-rsa-3.2.5_1,1:

--
NOTE: easyrsa will require you to initialize a PKI upon first use.

ONLY for the very first run for a new PKI, do something such as this,
assuming you will have its data in $HOME/my_new_pki:

easyrsa --pki-dir=$HOME/my_new_pki init-pki # DANGEROUS - DESTROYS ~/my_new_pki

See /usr/local/share/doc/easy-rsa/README.quickstart.md for further information.

An on-line help is available, you can run:

easyrsa help # for help on commands and options

**** SECURITY WARNING FOR PAST security/easy-rsa versions ****
**** easyrsa may have encrypted your CA private key with a weak cipher

Per CVE-2024-13454, Easy-RSA 3.0.5 inclusively up to and including 3.1.7,
when used with OpenSSL 3, may have accidentally encrypted the CA private
key with a weak cipher, des-ede3-cbc, instead of the intended aes-256-cbc,
when a CA was created with the easyrsa build-ca command.

Such mistakes cannot be corrected by upgrading Easy-RSA alone.

The standing recommendation for CA private keys is to
re-encrypt the CA private keys with the aes-256-cbc cipher,
by using the easyrsa set-pass ca command.

For details, see https://community.openvpn.net/openvpn/wiki/CVE-2024-13454.

**** END SECURITY WARNING FOR PAST security/easy-rsa versions ****

Message from openvpn-2.6.16:

--
Edit /etc/rc.conf[.local] to start OpenVPN automatically at system
startup. See /usr/local/etc/rc.d/openvpn for details.

Connect to VPN server as a client with this command to include
the client.up/down scripts in the initialization:
openvpn-client .ovpn

For compatibility notes when interoperating with older OpenVPN
versions, please see http://openvpn.net/relnotes.html

Note that OpenVPN does not officially support LibreSSL.

Note that OpenVPN configures a separate user and group "openvpn",
which should be used instead of the NFS user "nobody"
when an unprivileged user account is desired.

You may want to add user openvpn and group openvpn when creating your
configuration files, the example configuration shows this only as comments.

Issue tracking  Details

open closed Total
Bug 0 0 0
Feature 0 0 0
Support 0 0 0
Task 0 0 0

View all issues | Summary | Calendar | Gantt

Time tracking

  • Estimated time: 0:00 hour
  • Spent time: 0:00 hour

Details | Report