Documentation
¶
Overview ¶
Command awg-agent-userspace is the agent built to drive interfaces through an in-process userspace WireGuard device (the amneziawg-go library) instead of the kernel module — for hosts without a (matching) AmneziaWG kernel module. It's a self-contained binary (amneziawg-go is compiled in, no external process) and is otherwise identical to awg-agent; it just wires in the userspace backend before starting. It needs /dev/net/tun and CAP_NET_ADMIN at runtime to create and manage the TUN interfaces.
Command awg-agent is the standard agent: it manages interfaces through the AmneziaWG/WireGuard kernel module (the kernel.Backend, netlink). For a userspace (amneziawg-go) build see cmd/awg-agent-userspace.