Using Development Versions of OpenVPN
Getting OpenVPN snapshots
We offer several different kinds of development builds and snapshots:
- Windows installers built from every commit
- FreeBSD openvpn-devel port. Also usable as a standalone source snapshot on other platforms.
Note that these snapshots are either entirely untested or tested only very briefly. So there are no guarantees that they work correctly. That said, most of the time they probably work just fine.
Fetching sources using git
Second option is to fetch sources using Git. This method is preferred, as it allows you to easily keep using the latest code. For instructions take a look here.
Source for OpenVPN for Android
Source code for OpenVPN for Android is available on GitHub.
Source for OpenVPN Connect (android/IOS)
The latest source code snapshot for OpenVPN 3 is available here.
Building
If you’re using source snapshots / ports you can extract them like this:
gzip -dc openvpn-.tar.gz | tar xvf - cd openvpn-/
With Git you can skip this step. Next prepare for building (not required for stable releases):
autoreconf -vi
Next configure (see ./configure –help for available build-time options):
./configure
Finally compile:
make [-j ]
Once you’ve ran make, you can install OpenVPN using
make install
Building on MacOS X with homebrew
Homebrew does not install the openssl libraries in the standard paths. If you get errors like Undefined symbols for architecture x86_64: “_SSL_CTX_get0_certificate” …, you need to pass CPPFLAGS/LDFLAGS (the correct values are shown by brew info openssl).
make [-j ] CPPFLAGS=-I/usr/local/opt/openssl/include LDFLAGS=-L/usr/local/opt/openssl/lib