a3s-box-netproxy 3.0.0

macOS userspace network proxy for A3S Box libkrun VMs
Documentation

Pure-Rust userspace network proxy for libkrun on macOS.

Uses a Unix datagram socketpair() to connect libkrun's virtio-net backend to the userspace gateway and provides the gateway services needed by the guest:

  • ARP: handled automatically by smoltcp's interface layer.
  • DNS: UDP/53 queries forwarded to the host's configured DNS servers.
  • Inbound TCP port-forwarding: host_port → guest_ip:guest_port pairs parsed from the box's port_map config (e.g. "8088:80").

General outbound NAT (VM → internet) is not provided by bridge mode yet.