awgclient

command
v0.1.71 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2026 License: AGPL-3.0 Imports: 17 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command awgclient runs a real amneziawg-go process from an AmneziaVPN / AmneziaWG ".conf" file, for scripts/e2e-wsl.sh. The daemon is configured over its UAPI socket (it reads no .conf itself; the AmneziaWG tools that would convert one are not installed), the TUN gets the addresses of the file and every packet goes into the tunnel by default routes. Linux only, root, run it inside the namespace of the client:

nsenter -t <pid> -n awgclient -conf device.conf -bin ~/.cache/mistgate-tests/awgc-3.1/amneziawg-go \
    -iface mg3e1234 -endpoint 198.18.50.1:51842

It prints "ready <iface> <uapi socket>" once the interface is up and then runs until SIGTERM/SIGINT or until the daemon dies. The handshake is not awaited: read `get=1` from the socket (`nc -U`) or ping through the tunnel. Nothing here is a product feature, it is test tooling.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL