aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-03-17 09:46:08 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2021-03-17 10:13:22 -0600
commit8e0470dabb7f373ef41ab5aeb77068f84729f5da (patch)
tree7ea051b8eea1569bd0ebcea6334a9c6aa486fca4 /README.md
parentInitial import (diff)
downloadwireguard-freebsd-8e0470dabb7f373ef41ab5aeb77068f84729f5da.tar.xz
wireguard-freebsd-8e0470dabb7f373ef41ab5aeb77068f84729f5da.zip
support: prepare for out of tree builds
This involves weird backporting things. Hopefully support.c here is not as bad as compat.h on Linux. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--README.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/README.md b/README.md
index 82860e6..5596904 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,16 @@ This is a kernel module for FreeBSD to support [WireGuard](https://www.wireguard
### Installation instructions
+First make sure you have the latest net/wireguard package installed, version ≥1.0.20210315.
+
+Then, on FreeBSD 13.0:
+
```
-TODO
+# pkg install wireguard
+# git clone https://git.zx2c4.com/wireguard-freebsd
+# cd wireguard-freebsd/src
+# make load
+# make install
```
+
+After that, it should be possible to use `wg(8)` and `wg-quick(8)` like usual, but with the faster kernel implementation.