High performance, in-kernel VPN.
Install:
sudo dnf install wireguard-tools
Generate server config:
The macOS Mojave installer contains a new plugin, MetalCardRequired.bundle
, which prevents installation on any system with a GPU incompatible with Apple Metal, even where another GPU that is compatible is present. In the case of VMware Fusion, no Metal compatible card is detected and installation is not possible.
Edit the .vmx
file and change board-id.reflectHost = "TRUE"
to board-id.reflectHost = "FALSE"
. The installer check for compatible Metal card(s) should pass, and installation can proceed.
It should be possible to substitute newer versions in the OpenSSL 1.1.x series, e.g. OpenSSL 1.1.1g, so use the latest available when building.
# openssl
curl -O https://www.openssl.org/source/openssl-1.1.1g.tar.gz
tar -xf openssl-1.1.1g.tar.gz
cd openssl-1.1.1g
./Configure darwin64-x86_64-cc no-shared --prefix=${HOME}/openssl/openssl-1.1.1g --openssldir=${HOME}/openssl/openssl-1.1.1g
make -j$(sysctl -n hw.ncpu)
# wget | |
# required by gcc contrib script | |
curl -O ftp://ftp.gnu.org/gnu/wget/wget-1.15.tar.gz | |
tar -xvjf wget-1.15.tar.gz | |
cd wget-1.15 | |
./configure --with-ssl=openssl && make -j$(sysctl -n hw.ncpu) | |
sudo make install | |
cd .. | |
# cmake |