summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/sysadmin/networking/wireguard.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/sysadmin/networking/wireguard.md b/docs/sysadmin/networking/wireguard.md
index 7829586..7301d87 100644
--- a/docs/sysadmin/networking/wireguard.md
+++ b/docs/sysadmin/networking/wireguard.md
@@ -11,7 +11,7 @@ IP header takes 20 (or 40 for IPv6), leaving MTU = 1440 or 1420 (IPv6).
same public key.
* Only one side of the tunnel needs a public IP address.
* Multiple peers per interface possible, with crypto-based internal routing and
-alllowed ips filter.
+allowed IPs filter.
For the Linux implementation:
@@ -98,3 +98,14 @@ Endpoint = ip:port
Note that when using its systemd service, the file has to exist when stopping
the service, otherwise the stop command will fail and you have to clear the
failed unit yourself.
+
+## Debugging
+
+Could be hard though. Good luck with tcpdump(1).
+
+For kernel module debug logs:
+
+```shell
+$ modprobe wireguard
+$ echo module wireguard +p > /sys/kernel/debug/dynamic_debug/control
+```