User genneko shows us how to get WireGuard set up on your FreeBSD operating system. WireGuard is an open-source Virtual Private Network application designed to connect to remote acccess VPNs and improve your security. This guide walks you through site-to-site configuration, installing WireGuard in a FreeBSD jail, setting up connectivity and encryption, and remote access. See the link below for the full set of instructions.
WireGuard is a new VPN application which focuses on simplicity thus security and speed. Although it was initially developed as a Linux kernel feature, now it has a userspace implementation in Go and binary packages are available for FreeBSD.
I used this weekend to have a quick look at it on FreeBSD 12.0.
This time I focused on site-to-site VPN setup. Maybe I will try remote-access VPN configuration in the near future.
NOTE: WireGuard is still in early stage of development. Go-implementation (wireguard-go) has no official release yet. Also testing network software on VNET jails might be a bit tricky in itself. This article just shows you what I did to see what it looked like.
WireGuard on FreeBSD Quick Look: Testing VPN in Jail Network: https://genneko.github.io/playing-with-bsd/networking/freebsd-wireguard-quicklook/