summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuuta Liang <yuuta@yuuta.moe>2023-11-07 13:56:21 +0800
committerYuuta Liang <yuuta@yuuta.moe>2023-11-07 13:56:21 +0800
commit91794bab38d62008211cb09b8c48e8c6c1db2e0d (patch)
tree63d55c6d721109f33c3087affcb13915a3c737d0
parentf27c5ec67350af0dd18ba6f8b98f73d9513a1983 (diff)
downloadkb-91794bab38d62008211cb09b8c48e8c6c1db2e0d.tar
kb-91794bab38d62008211cb09b8c48e8c6c1db2e0d.tar.gz
kb-91794bab38d62008211cb09b8c48e8c6c1db2e0d.tar.bz2
kb-91794bab38d62008211cb09b8c48e8c6c1db2e0d.zip
Fix typo in WireGuard
-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
+```