WireGuard

Goauld agent WireGuard

The agent can expose a virtual WireGuard endpoint for TCP, UDP, and ICMP traffic without relying on a SOCKS proxy. The client creates the local TUN interface and carries its traffic through the existing agent connection.

Quick usage

  1. Set wg-enabled: true in the agent configuration.
  2. Start the agent and wait for it to register.
  3. Generate and start the client-side interface by following Client WireGuard.

How it works

Each agent receives a private WireGuard endpoint implemented with the gVisor network stack. The endpoint is reached through the existing agent connection; it does not expose a new network listener on the target.

Limitations

Options

WireGuard is disabled by default.

  • --wg-enabled: enable the WireGuard endpoint.
  • --wg-port: virtual remote port assigned to the endpoint. The default 0 selects a random port.