Security and privacy

v2rayNG Per-App Bypass Can Leak the VPN Exit IP

After VPN and per-app bypass are enabled, an excluded app may still bind to tun0 and see the VPN exit IP. Check the official issues, temporarily block process: __unknown_app__ → block or disable bypass, then verify with non-sensitive traffic; no official fixed version was announced at review time.

  • v2rayNG
  • Android
  • Per-app proxy
  • Split Tunneling
  • VPN IP leak
v2rayNG security guidance: Follow this step

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.

Confirm the per-app bypass and tun0 leak conditions

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record. [Android TUN #6465 #6460]

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record. [Android]

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record. [TUN]

v2rayNG security guidance: Follow this step

v2rayNG security guidance: Follow this stepv2rayNG security guidance: Follow this step
v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record. [TUN]v2rayNG security guidance: Follow this step
v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record. [HTTP TUN]v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.
v2rayNG security guidance: Follow this stepv2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record. [Android]
v2rayNG security guidance: Follow this stepv2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.

Record the version and bypass list before making a reversible change

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record. [TUN 2.3.15 #6465]

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.

v2rayNG security guidance: Follow this step

  • v2rayNG security guidance: Follow this step
  • v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record. [TUN]
  • v2rayNG security guidance: Follow this step
  • v2rayNG security guidance: Follow this step
  • v2rayNG security guidance: Follow this step

Apply the temporary rule from the official issue or disable per-app bypass

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record. [`process: __unknown_app__ → block` #6465]

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record. [DNS]

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record. [Android]

v2rayNG security guidance: Follow this step

  1. v2rayNG security guidance: Follow this step

    v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.

  2. v2rayNG security guidance: Follow this step

    v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.

  3. v2rayNG security guidance: Follow this step

    v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.

  4. v2rayNG security guidance: Follow this step

    v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.

Verify with non-sensitive traffic that the excluded app no longer enters tun0

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record. [#6460]

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record. [DNS]

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.

v2rayNG security guidance: Follow this step

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.

v2rayNG security guidance: Follow this step

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record. [Android DNS]

v2rayNG security guidance: Follow this step

  • v2rayNG security guidance: Follow this step
  • v2rayNG security guidance: Follow this step
  • v2rayNG security guidance: Follow this step
  • v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.
  • v2rayNG security guidance: Follow this step

After confirming exposure, stop the leak and rotate potentially affected credentials

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record. [Android]

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record. [Android]

Use a safe rollback when no usable rule exists or compatibility worsens

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record. [TUN]

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.

v2rayNG security guidance: Follow this step

  1. v2rayNG security guidance: Follow this step

    v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.

  2. v2rayNG security guidance: Follow this step

    v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.

  3. v2rayNG security guidance: Follow this step

    v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record. [DNS]

  4. v2rayNG security guidance: Follow this step

    v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record. [Android]

v2rayNG security guidance: Follow the documented per-app VPN/TUN mitigation and keep a reversible record.

v2rayNG security guidance: Follow this step