Skip to content

V2pn 1.6.2

Latest

Choose a tag to compare

@Piwqust Piwqust released this 30 Nov 08:59

Fixes for the moments when V2pn acts on its own — when a server cannot start or stops answering, and when a script or an AI assistant drives V2pn — along with security and reliability hardening across updates, Kill Switch, config filters, and the desktop app.

V2pn 1.6.2 highlights

When a server fails

When a server fails: named core failure reasons, subscription-scoped recovery and hidden servers excluded

  • When the core cannot start, V2pn drains its output completely even if it exits within 100 ms and says why: a broken REALITY key, server settings the core cannot read, a missing rule list, a taken port or refused rights. For a server's own settings the card offers to update the subscription, try another server, or copy diagnostics. Before, it said the reason was unknown.
  • Switching by itself stays within the server's own subscription. "Find a working server" looks there first, and when nothing there answers, it names the other subscription and asks before using its server. Servers your provider hides are never offered.

Command line and AI assistants

v2pnctl and MCP: rollback on failed start, core_failed exit code, and Kill Switch disconnect guard

  • A change made with --confirm-within is now put back also when the core cannot start with it. Before, V2pn switched itself off, took that for your own change and stayed offline.
  • While such a change waits for its confirmation, V2pn does not switch servers by itself, and once confirmation clears, it rechecks a failed server it had skipped.
  • A change whose core does not start now answers as a failure (core_failed, exit code 1) with the named failureReason, not "Switched".
  • Disconnecting while Kill Switch is active now requires v2pnctl disconnect --confirm (or confirm: true via MCP), returning exit code 2 with instructions otherwise.
  • Core launch arguments, proxy credentials, tokens, and IDs are scrubbed from diagnostics and logs.

Subscriptions

  • A failed automatic update is tried again after 15 minutes, then after an hour, then at the usual interval. Before, it waited the whole interval and the list said "updated" as if it had worked.
  • In Russian, a subscription's line in the sidebar is no longer cut off.

Security and reliability

Security and reliability hardening: config filters, atomic Kill Switch, fail-closed updates and translations

  • Core config filters match JSON keys case-insensitively, reject duplicate or non-ASCII keys, and lock Clash/mihomo proxy and rule providers down to public HTTPS URLs under ./providers/.
  • Kill Switch keeps port-in-use errors ahead of generic fallback, replaces Windows Filtering Platform app rules atomically in one transaction, narrows DHCP allowances to UDP ports 67/547, and serializes core and network watcher races.
  • Core, installer, and app updates fail closed on missing or invalid SHA-256 digests; shared manifest verification rejects downgrades, wrong architectures, and symlinks; Unix control sockets and signed partner catalog cache enforce 0600 permissions.
  • Exiting the app runs a unified shutdown coordinator with SQLite VACUUM, validates external links before opening them, and fixes onboarding, QR, and UAC race conditions.
  • V2pn's own UI strings are translated across 7 additional locales: zh-Hans, zh-Hant, fa, fr, hu, id, and az.

Based on v2rayN 8.0.1.


Download

Download for Windows   Download for macOS

System File
Windows 10 and 11, x64 V2pn-windows-x64-setup.exe
Windows 11 on ARM V2pn-windows-arm64-setup.exe
macOS 13.6 or later, Apple silicon (M1 and later) V2pn-macos-arm64.dmg
macOS 13.6 or later, Intel V2pn-macos-x64.dmg

Or in one command. Windows (Terminal): irm https://github.com/Piwqust/V2pn/releases/latest/download/install.ps1 | iex. Mac (Terminal): curl -fsSL https://github.com/Piwqust/V2pn/releases/latest/download/install.sh | bash. Both install without the first-launch warning and move your servers from v2rayN.

Already using V2pn? Nothing to download: it updates itself.

On the first launch of a downloaded file, Windows and macOS warn that they do not know the developer, because the app has no paid signature. How to get past it is in the README.

The other files in the list below

V2pn-windows-<arch>.zip is the same Windows app without an installer, for a portable copy: unpack it and run V2pn.exe. The rest are for the app, not for people. The updater reads -update.zip, the macOS .zip, release.json and release.json.sig; -update.zip has no cores, so it does not work as a first install. .sha256 files are checksums: sha256sum -c V2pn-windows-x64.zip.sha256. install.ps1 and install.sh are the one-command installers above. V2pn reads partner-index.json and partner-<provider>.zip for provider tabs. partners.json is for V2pn 1.2.1 and older.

По-русски: README.ru.md. Интерфейс переключается на русский в «Appearance».