windows: AmneziaWG outbounds, and WARP through wireproxy
- ps_core::awg: upstream's scripts/amneziawg_config.py, ported: a profile from a .conf, an AmneziaVPN vpn:// link (qCompress'd JSON or the compact .conf form, containers and DNS placeholders as upstream reads them) or declarative settings (with obfuscationFile's secrets); AWG 3's MTU default, the endpoint override, upstream's checks (no wg-quick hooks unless allowed, no control characters, one [Interface]); and the wireproxy configuration. Checked against links made by upstream's own encoder, output byte for byte. - wireproxy-awg for Windows, built from upstream's tag (pinned to its commit) with upstream's patches, by tools/build-wireproxy-awg.sh; in the release as a bundled component. Go joins the dev shell. - The service runs one per "userspace" AmneziaWG outbound and WARP device, on its loopback port with the hop login, its configuration below the protected state root; "singBox" profiles reach the renderer. wireproxy goes direct under the TUN. - End to end on Linux (an_amneziawg_tunnel): sing-box as the WireGuard server, the service's wireproxy as the client; a page through its listener and through the proxy's outbound, named inside the tunnel. - What is still to come and said: AmneziaWG as a system-wide VPN. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
62adadc207
commit
2c4cdee7d3
15 files changed
+980
-10
No files matched your search
+4
-2
@@ -24,12 +24,13 @@ tray icon) or with `proxy-ctl`, as upstream's is.
|
||||
| zapret2 | `winws2.exe` from bol-van's [zapret-win-bundle](https://github.com/bol-van/zapret-win-bundle) with [nfqws2-keenetic](https://github.com/nfqws/nfqws2-keenetic)'s strategies and nfqws2's own learning of blocked sites |
|
||||
| tg-ws-proxy | Flowseal's [tg-ws-proxy](https://github.com/Flowseal/tg-ws-proxy), the headless proxy, on a bundled Python |
|
||||
| Tor | `tor`: the Tor Project's own Windows build (the Expert Bundle, signed, pinned), with bridges (obfs4, webtunnel, snowflake, meek, conjure) and, with `asOutbound`, an outbound of the proxy |
|
||||
| WARP | `warp` with `asOutbound = "singBox"`: each device registered with Cloudflare as wgcf registers (through the local proxy first, then directly, then `generatorUrl`), or a profile given; a sing-box WireGuard endpoint, several grouped as `warp` |
|
||||
| AmneziaWG | `amneziaWg` profiles as outbounds, from a `.conf`, an AmneziaVPN `vpn://` link or settings: `"userspace"` (wireproxy-awg, built from upstream's source, AmneziaWG's obfuscation kept, no driver) or `"singBox"` (plain WireGuard). WARP devices take either kind too |
|
||||
| WARP | `warp` with `asOutbound = "singBox"` or `"userspace"`: each device registered with Cloudflare as wgcf registers (through the local proxy first, then directly, then `generatorUrl`), or a profile given; a sing-box WireGuard endpoint, several grouped as `warp` |
|
||||
| SSH tunnel | `sshProxy`: Windows' own OpenSSH as a SOCKS listener (`ssh -D`) for other programs, and, with `asOutbound`, an outbound of the proxy (sing-box's SSH client) |
|
||||
| TUN | sing-box's TUN (wintun), `proxy-ctl proxy tun on` — **see the caveats** |
|
||||
| The app | **Proxy Suite** in the Start Menu, and a tray icon from sign-in: the proxy, DPI bypass and Telegram proxy at a glance and a click; outbounds, subscriptions and the routing mode; zapret's presets and sites; tg-ws-proxy's links; the logs; **every option** in its JSON editor, checked by the service before it takes it; the system proxy |
|
||||
|
||||
Not in this release, still to come: AmneziaWG (and WARP through it), Tor's onion service, whitelist-bypass,
|
||||
Not in this release, still to come: AmneziaWG as a system-wide VPN (its driver), Tor's onion service, whitelist-bypass,
|
||||
the kill switch, server inbounds, the XRay-only backend, autoProxy, zapret2's extended
|
||||
detection and z2k strategies. Their options are accepted (they are upstream's), but the
|
||||
service says, in its status and in the app, that it does not run them yet.
|
||||
@@ -49,6 +50,7 @@ Needs 64-bit Windows 10 (1903 or later) or 11.
|
||||
| tg-ws-proxy | runs and listens under Wine |
|
||||
| SSH tunnel | end to end on Linux: an sshd of the test's own, a page through the `ssh -D` listener and through sing-box's SSH outbound, each logging in with the service's copy of the key (`an_ssh_tunnel`) |
|
||||
| Tor | its Windows `tor.exe` (under Wine) accepts the torrc the service writes, bridges and transports included; on Linux the service runs Tor with it and Tor starts bootstrapping (where Tor's relays are blocked, it needs bridges) |
|
||||
| AmneziaWG | profiles from `.conf`, `vpn://` links and settings converted exactly as upstream's script converts them (its own encoder's links as test vectors); end to end on Linux: sing-box as a WireGuard server, the service running wireproxy-awg, a page through its listener and through the proxy's outbound (`an_amneziawg_tunnel`) |
|
||||
| WARP | a device registered live with Cloudflare by the service, its profile rendered as a sing-box endpoint and accepted; traffic through it not (this test machine blocks outgoing UDP) |
|
||||
| zapret's hostlist rules | every preset with sample rules, checked by `winws.exe --dry-run` (a preset without the profile a rule copies is refused, as upstream refuses it) |
|
||||
| The app | every page against the service running on Linux, in a window on a virtual display (Xvfb, Mesa's software Vulkan), clicked and typed into by a script, screenshots looked at, and the service's configuration checked after each change (`tools/gui-shot.sh`) |
|
||||
|
||||
Reference in new issue
Block a user