TUN mode not working on Fedora with v2rayN

Hi all,

I’m using v2rayN on Fedora 42. When I enable TUN mode, no network traffic is routed through the proxy, and tun0 never appears. I tried to load tun kernel module using modprobe tun. It loaded but nothing changed.

I am using the lastest version of v2rayN I tried some older version which was working for me before but the same problem occured again. I think it might be from permission or maybe SELinux. Do anyone have any solutions for that?

I am using the RPM version. I also tried older AppImage versions which worked before

It works for me in F43 using the latest RPM from here:
GitHub - 2dust/v2rayN: A GUI client for Windows, Linux and macOS, support Xray and sing-box and others

The Tun mode switch is located in the lower left corner of the main window, it opens a dialog asking for the sudo password and then creates the singbox_tun interface.

Troubleshooting:

  • Test permissive SELinux mode.
  • Test under a new privileged user with default settings.
  • Launch the app from the terminal to catch relevant errors if any.

If I use versions like Aurora, will I have problems with the tunnel?