4 ms·
I wish there was good documentation/a tutorial which shows one how to use systemd-networkd and nftables to manage wireguard interfaces. The Arch Wiki has some d
by genghizkhan 7y ago
I wish there was good documentation/a tutorial which shows one how to use systemd-networkd and nftables to manage wireguard interfaces. The Arch Wiki has some documentation[0], but I've never been able to get it past the initial handshake (which always succeeds) and no one on the IRC channel was able to help me out.
I don't want to ask for hand-holding, but some more comprehensive and accessible documentation might help me troubleshoot it better.
[0] https://wiki.archlinux.org/index.php/WireGuard#Using_systemd-networkd https://wiki.archlinux.org/index.php/WireGuard#Using_systemd...
- mahkoh 7y agoIf you want to enable forwarding then set the sysctl [0] and masquerade [1]. nftables also has a `log` rule which might be useful for debugging. If you can't even connect to services on the peer then first delete all iptables and nftables rules and try again. [0] https://wiki.archlinux.org/index.php/WireGuard#Server https://wiki.archlinux.org/index.php/WireGuard#Server [1] https://wiki.archlinux.org/index.php/Nftables#Masquerading https://wiki.archlinux.org/index.php/Nftables#Masquerading
- genghizkhan 7y agoThank you, kind stranger! I know what tomorrow's project is going to be!