Three structural changes that share files, so one commit:
Settings, ports, DNS rules and custom inbounds each carried their own
copy of "store the new value, regenerate the core config, put the old
value back when that fails", and the outbound setting path had no
restore at all. ApplyCoreConfig takes a snapshot function and a store
function and does the sequence once for all five callers; the outbound
setting path restores like the others, and the error names which of
the three steps failed.
configure.Which was the persisted discriminator, the key that locates a
node, and the response row with its latency, link and selected flag at
once. NodeRef {type, id, sub, outbound} is the identity used by the
locator, EqualTo, the connected lists and the group operations; Which
embeds it and keeps the status fields. The JSON stays byte for byte
what it was (a test marshals a fixture before and after), stored
connected lists decode unchanged, and deduplication keys by identity
instead of by the whole row.
db.List* dispatched on "bucket/key" string literals to reach the
servers and subscriptions tables. The bodies are now Servers* and
Subscriptions* functions that configure calls directly; the List*
wrappers remain for the migration.
v2rayA

v2rayA is a V2Ray client supporting global transparent proxy on Linux, Windows and macOS, it is compatible with SS, SSR, Trojan(trojan-go), Tuic and Juicity protocols. [SSR protocol list]
We are committed to providing the simplest operation and meet most needs.
Thanks to the advantages of Web GUI, you can not only use it on your local computer, but also easily deploy it on a router or NAS.
Project:https://github.com/v2rayA/v2rayA
Usage
v2rayA mainly provides the following methods of installation:
- Install from apt-source or AUR
- Docker
- Our self-built scoop bucket (for Windows users)
- Our self-built homebrew tap
- Our self-built OpenWrt repo and OpenWrt's official repo(from OpenWrt version 22.03)
- Microsoft winget: https://winstall.app/apps/v2rayA.v2rayA
- Ubuntu Snap: https://snapcraft.io/v2raya
- Binary file and installation package from GitHub releases
See v2rayA - Docs
Transparent proxy
On Linux, transparent proxy is available as redirect, tproxy or tun; on Windows and macOS as tun or the system proxy.
tun is built into the core: the core opens a TUN device, assigns its address and takes the default route. Its own connections, the direct outbound and the DNS module's upstream queries never enter the TUN (by socket mark on Linux, by binding to the physical interface on Windows and macOS), and every DNS query an application sends to a public resolver is answered by the core's DNS module. v2rayA and the core are always excluded; other processes can be excluded by executable name in the settings. Connected and static routes always bypass the TUN.
Known limitation: on Windows and macOS an application that queries a LAN resolver directly still bypasses the TUN. The system resolver is pointed at the TUN and is covered.
Screenshots
The dashboard: the core, the node in use, live traffic, the transparent proxy and splitting modes, the members' latency and the subscriptions, each a tile.
The RoutingA editor: rules as a list with a rule editor, or as text with line numbers, colouring and per-line checks; the syntax at hand; import and export.
Statement
- The program does not store any user data in the cloud, and all user data is stored in local.
- Do not use this project for illegal purposes.