Installing OpenVPN on FreeBSD

FreeBSD and BSD in general are Unix systems of outstanding stability and security, and are therefore very popular among network administrators. In practice, with FreeBSD, you do not have to worry much about security issues of the software that you install, but you may not always get up-to-date versions.

FreeBSD also has a modern software management system. Simply type pkg_add -vr openvpn and OpenVPN software is installed on your system. Calling pkg_add with the parameter -r installs software from remote servers, similar to apt-get or rpm. If you run into problems, increasing verbosity with the parameter -v can be helpful.

The following excerpt shows the output of pkg_add:

freebsd# pkg_add -vr openvpn looking up ...

Get Beginning OpenVPN 2.0.9 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.