Hacker News new | ask | show | jobs
by xena 2742 days ago
How is this better than a VPN software that runs as root?
1 comments

It isn't, but I don't see why you should run your VPN software as root at all.
In order to listen (and forward) all network traffic you need privileges over the network namespace that you want to forward packets for. In most cases this ends up with you running as root. You can use proxies but that defeats the point of a VPN -- that all traffic is forwarded.

But as I mentioned, WireGuard should really be the least of your problems (not to mention that there are userspace WireGuard implementations).