3 ms·
pretty cool and thanks for the details about TUN devices! I believe wireguard runs over UDP and while you still need a TUN device, it has kernel implementation
by jimmyl02 2y ago
pretty cool and thanks for the details about TUN devices!
I believe wireguard runs over UDP and while you still need a TUN device, it has kernel implementations to handle encrypting the traffic.
- kwakubiney 2y agoThanks for the comment and nice words! The encryption bit is still something I am yet to get into since I have not decided on how to go about that yet! It seems Tailscale uses the WireGuard protocol, I could probably look into how they are doing that and get some ideas from there :)
- smw 2y agoTailscale actually implements wireguard in go in user space, last time I checked.
- homebrewer 2y agonetbird is more interesting as it's able to rely on kernel-mode wireguard when peers can see each other directly, and fall back to the userspace implementation.