#10170·v2rayN

[Bug]: TUN mode is not working on Linux after the recent update

Author: TheToexCreated Sep 14, 2026Updated Sep 16, 2026
Labelsbug

操作系统 / v2rayN / Core 版本

  • OS: Arch Linux - v2rayN Version: 7.24.9 (Recently updated) - Core: Xray - Privilege: Running as Root (sudo)

预期情况

TUN mode should successfully create the virtual interface and route all system traffic as it did in the previous versions.

实际情况

Description

Hello, After updating v2rayN to the latest version last night, the "Enable TUN" feature has stopped working on my Arch Linux system.

The application itself connects successfully, and the proxy works perfectly in the background via SOCKS/HTTP on port 10808. However, when I check the "Enable TUN" option (while running the app as root), it fails to route the system traffic through the TUN interface. Before the update, this feature was working without any issues.

Steps to Reproduce

  1. Run v2rayN with root privileges (sudo).
  2. Start a working VLESS/Xray configuration.
  3. Verify that the local proxy works on port 10808 (it works).
  4. Check the "Enable TUN" box.
  5. The TUN mode fails to route the traffic, even though there are no explicit permission errors in the logs anymore.

复现方法

  1. Run v2rayN with root privileges (sudo).
  2. Start a working VLESS/Xray configuration.
  3. Verify that the local proxy works on port 10808 (it works).
  4. Check the "Enable TUN" box.
  5. The TUN mode fails to route the traffic, even though there are no explicit permission errors in the logs anymore.

软件日志

No specific errors in the GUI logs when enabling TUN mode. The app connects and shows normal Xray startup logs, but system traffic is not routed.

内核日志

Logs indicate successful Xray startup and local SOCKS/HTTP connections (e.g., accepted tcp:www.google.com:443 [socks -> proxy]), but there are no logs indicating TUN interface creation or routing of system traffic.

额外信息

No response

我确认已更新至最新版本

我确认已查询历史issues

我确认系统版本是受支持的