From 91794bab38d62008211cb09b8c48e8c6c1db2e0d Mon Sep 17 00:00:00 2001 From: Yuuta Liang Date: Tue, 7 Nov 2023 13:56:21 +0800 Subject: Fix typo in WireGuard --- docs/sysadmin/networking/wireguard.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 +``` -- cgit v1.2.3