socket_vmnet is a networking bridge that provides vmnet.framework support for rootless QEMU on macOS without requiring VDE as a dependency.
The tool solves the problem of running QEMU virtual machines with native macOS networking capabilities while keeping QEMU itself unprivileged. It bridges QEMU to vmnet.framework, Apple's native virtualization networking API, by running as a privileged daemon that handles the framework interaction. This eliminates the need for QEMU to run as root and removes the dependency on VDE, a separate virtual networking layer. The tool was forked from vde_vmnet and reimplemented to communicate directly with vmnet.framework through Unix sockets.
Developers should choose this tool if they are running QEMU on macOS and want to leverage native networking without the complexity of VDE or the security implications of running QEMU as root. It suits projects using Lima, Tart, or direct QEMU invocation that need reliable network connectivity. The README distinguishes it from vde_vmnet by its removal of the VDE dependency and from QEMU's built-in vmnet support by offering an alternative implementation path. The tool supports advanced configurations including multi-VM setups and bridged mode networking, and can be installed via binary, source compilation, Homebrew, or MacPorts.
The project maintains active engagement with its user base through comprehensive documentation addressing common questions about privilege requirements, static IP configuration, and DHCP reservation. Development includes support for launchd service installation to run socket_vmnet as a system daemon, with configurable socket paths and gateway addresses. The codebase is written in C and targets macOS 10.15 or later, with installation guidance emphasizing security best practices around file permissions and prefix directories.