Problem with TUN in the latest version (1.2+)
Operating system
Linux
System version
Linux-7.1.4
Installation type
zip
Version
1.2.0, 1.2.0 beta 7
Description
I'm having a problem with TUN mode on my machine. I'm not sure what's causing it, but in versions 1.1.6 and earlier, I had no issues with TUN; however, when I install version 1.2 or later, TUN mode simply doesn't work (to be more precise, it doesn't pass traffic, and no current connections are visible in the “Connections” menu). (There are no issues with other functionality, and the profile itself works fine.)
I completely deleted the Throne configuration, but that didn’t help.
I've tried both the binary releases and building them myself and I've also tried installing it using the new installation script
Reproduction
described above
Logs
Xray-core: 26.7.11
Core Has Successfully Connected to Throne!
>>>>>>>> Processing subscription data...
>>>>>>>> Process complete, applying...
Imported 1 profile(s)
2026/07/23 17:52:07.209459 [Warning] core: Xray 26.7.11 started
INFO[0000] network: updated default interface enp9s0, index 2
INFO[0000] sing-box started (0.00s)
INFO[0000] outbound/socks[proxy-1-0]: outbound connection to cp.cloudflare.com:80
2026/07/23 17:52:07 [Info] sing-box closed in 0 ms
URL test for batch done.
URL test finished!
>>>>>>>> Starting profile [VLESS (Xray)] 🇷🇺 Russia
2026/07/23 17:52:24.799133 [Warning] core: Xray 26.7.11 started
INFO[0000] network: updated default interface enp9s0, index 2
INFO[0000] inbound/direct[dns-in]: tcp server started at 127.0.0.1:5533
INFO[0000] inbound/direct[dns-in]: udp server started at 127.0.0.1:5533
INFO[0000] inbound/mixed[mixed-in]: tcp server started at 127.0.0.1:2080
INFO[0000] sing-box started (0.01s)
INFO[0000] [4115969448 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:46740
INFO[0000] [4115969448 0ms] inbound/mixed[mixed-in]: inbound connection to ip-api.com:80
INFO[0000] [4115969448 17ms] router: found process path: /opt/Throne/Throne, user: snowy
INFO[0000] [4115969448 17ms] outbound/socks[proxy]: outbound connection to ip-api.com:80
INFO[0022] [899650093 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:52766
INFO[0022] [899650093 0ms] inbound/mixed[mixed-in]: inbound connection to api.myip.com:443
INFO[0022] [899650093 17ms] router: found process path: /usr/bin/curl, user: snowy
INFO[0022] [899650093 18ms] outbound/socks[proxy]: outbound connection to api.myip.com:443
>>>>>>>> Stopping profile [VLESS (Xray)] 🇷🇺 Russia
2026/07/23 17:52:53 [Info] sing-box closed in 0 ms
the profile itself works
The logs with tun mode enabled don't contain any errors; I'd even say they're no different from the logs of an older version.
The log file is too large, so I can't send it (I have a lot of processes running on my machine).
However, it’s very strange that the log contains a lot of lines like: INFO[0007] router: found process path: /usr/bin/curl, user: snowy, but only about 20 lines with content like: INFO[0029] [3807235238 0ms] outbound/socks[proxy]: outbound packet connection to 1.1.1.1:443 or INFO[0029] [3807235238 0ms] inbound/tun[tun-in]: inbound packet connection to 1.1.1.1:443. Honestly, I don’t know how this works or why the problem is specifically this kind, but as I understand it, no process on my machine had access to the Internet via TUN
All rules are completely default; no settings were edited—I only added one vless:// profile and enabled TUN
Use temporary stack gvisor tun mode
Please also try ticking the Disable Private Range bypass in Tun settings to see if it helps, if not, i think this might be a sing-box regression.
hello, system and mixed tun stacks don't work at all. gvisor stack works fine. Disable Private Range bypass option, doesn't help to make the system and mixed stacks work
so only gvisor stack works fine for me
hello, system and mixed tun stacks don't work at all. gvisor stack works fine. Disable Private Range bypass option, doesn't help to make the system and mixed stacks work
so only gvisor stack works fine for me
If possible, please try reproducing this using sing-box's latest stable version (not alpha or beta ones) If not, export your sing-box config via share->export sing-box config, strip sensitive data (replace them with xxxx) and send it to the other issue about this matter.
I tested this on the latest stable version (not a beta).
Oh, what do you mean by “sing-box”? Do I need to check this directly through the core itself, bypassing Throne?
Oh, what do you mean by “sing-box”? Do I need to check this directly through the core itself, bypassing Throne?
If you are familiar with it, yes, use https://github.com/SagerNet/sing-box/releases/tag/v1.13.14 and try to reproduce it using sing-box alone. If it happens there, then it is a sing-box bug, otherwise we may be doing something wrong in our config generation, which is unlikely since that part has not been changed much.
Hi, on Ubuntu 26.04 with stable version 1.2.0, TUN is not working. I confirm @Snowy-Fluffy comment: system and mixed modes don't work, only gVisor works. Tested with VLESS + Xray and AnyTLS configs. The issue also exists with the Xray core.
Hi, on Ubuntu 26.04 with stable version 1.2.0, TUN is not working. I confirm @Snowy-Fluffy comment: system and mixed modes don't work, only gVisor works. Tested with VLESS + Xray and AnyTLS configs. The issue also exists with the Xray core.
Throne uses sing-box as its tun backend, even if xray is used as the connection core
I have been having simmilar (if not the same) issues. I have also tried connecting to the VPS via a manual sing-box config and it gives me similar results. I am a bit new to tunneling but this was the log I got out of throne
sing-box: v1.13.14
Xray-core: 26.7.11
Core Has Successfully Connected to Throne!
>>>>>>>> Starting profile [VLESS (Xray)] vless-reality
2026/07/23 22:18:10.345134 [Warning] core: Xray 26.7.11 started
INFO[0000] network: updated default interface enp34s4, index 2
INFO[0000] inbound/direct[dns-in]: tcp server started at 127.0.0.1:5533
INFO[0000] inbound/direct[dns-in]: udp server started at 127.0.0.1:5533
INFO[0000] inbound/mixed[mixed-in]: tcp server started at 127.0.0.1:443
INFO[0000] inbound/tun[tun-in]: started at throne-tun
INFO[0000] sing-box started (0.02s)
INFO[0000] [3625003973 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:49006
INFO[0000] [3625003973 0ms] inbound/mixed[mixed-in]: inbound connection to ip-api.com:80
INFO[0000] [3625003973 33ms] router: found process path: /usr/lib/throne/Throne, user: jesse
INFO[0000] [3625003973 33ms] outbound/socks[proxy]: outbound connection to ip-api.com:80
INFO[0010] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0010] [954991239 0ms] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:50107
INFO[0010] [954991239 0ms] inbound/tun[tun-in]: inbound packet connection to 9.9.9.9:53
INFO[0010] [954991239 0ms] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0010] [954991239 0ms] outbound/socks[proxy]: outbound connection to 8.8.8.8:443
INFO[0010] [954991239 190ms] dns: exchanged AAAA optimizationguide-pa.googleapis.com. 300 IN AAAA 2001:4860:4847:400::
INFO[0010] [954991239 190ms] dns: exchanged AAAA optimizationguide-pa.googleapis.com. 300 IN AAAA 2001:4860:4842:400::
INFO[0010] [954991239 190ms] dns: exchanged AAAA optimizationguide-pa.googleapis.com. 300 IN AAAA 2001:4860:4845:400::
INFO[0010] [954991239 190ms] dns: exchanged AAAA optimizationguide-pa.googleapis.com. 300 IN AAAA 2001:4860:4843:400::
INFO[0010] [954991239 190ms] dns: exchanged AAAA optimizationguide-pa.googleapis.com. 300 IN AAAA 2001:4860:4841:400::
INFO[0010] [954991239 190ms] dns: exchanged AAAA optimizationguide-pa.googleapis.com. 300 IN AAAA 2001:4860:4846:400::
INFO[0010] [954991239 190ms] dns: exchanged AAAA optimizationguide-pa.googleapis.com. 300 IN AAAA 2001:4860:4844:400::
INFO[0010] [954991239 190ms] dns: exchanged AAAA optimizationguide-pa.googleapis.com. 300 IN AAAA 2001:4860:4840:400::
INFO[0010] [954991239 192ms] dns: exchanged A optimizationguide-pa.googleapis.com. 300 IN A 172.217.118.4
INFO[0010] [954991239 192ms] dns: exchanged A optimizationguide-pa.googleapis.com. 300 IN A 172.217.114.4
INFO[0010] [954991239 192ms] dns: exchanged A optimizationguide-pa.googleapis.com. 300 IN A 172.217.116.4
INFO[0010] [954991239 192ms] dns: exchanged A optimizationguide-pa.googleapis.com. 300 IN A 172.217.119.4
INFO[0010] [954991239 192ms] dns: exchanged A optimizationguide-pa.googleapis.com. 300 IN A 172.217.117.4
INFO[0010] [954991239 192ms] dns: exchanged A optimizationguide-pa.googleapis.com. 300 IN A 172.217.115.4
INFO[0010] [954991239 192ms] dns: exchanged A optimizationguide-pa.googleapis.com. 300 IN A 172.217.113.4
INFO[0010] [954991239 192ms] dns: exchanged A optimizationguide-pa.googleapis.com. 300 IN A 172.217.112.4
INFO[0010] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0010] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0010] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0010] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0012] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0012] [4017322487 0ms] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:55683
INFO[0012] [4017322487 0ms] inbound/tun[tun-in]: inbound packet connection to 9.9.9.9:53
INFO[0012] [4017322487 0ms] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0012] [4017322487 40ms] dns: exchanged AAAA ublockorigin.pages.dev. 300 IN AAAA 2606:4700:310c::ac42:2c4d
INFO[0012] [4017322487 40ms] dns: exchanged AAAA ublockorigin.pages.dev. 300 IN AAAA 2606:4700:310c::ac42:2fb3
INFO[0012] [4017322487 44ms] dns: exchanged A ublockorigin.pages.dev. 300 IN A 172.66.44.77
INFO[0012] [4017322487 44ms] dns: exchanged A ublockorigin.pages.dev. 300 IN A 172.66.47.179
INFO[0012] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0012] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0012] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0012] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0012] [2808696297 0ms] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:57986
INFO[0012] [2808696297 0ms] inbound/tun[tun-in]: inbound packet connection to 9.9.9.9:53
INFO[0012] [2808696297 0ms] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0012] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0012] [2808696297 38ms] dns: exchanged A malware-filter.gitlab.io. 300 IN A 35.185.44.232
INFO[0012] [2808696297 38ms] dns: exchanged AAAA malware-filter.gitlab.io. 300 IN AAAA 2600:1901:0:7b8a::
INFO[0012] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0012] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0012] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0013] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0017] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0017] [1057438066 0ms] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:49963
INFO[0017] [1057438066 0ms] inbound/tun[tun-in]: inbound packet connection to 9.9.9.9:53
INFO[0017] [1057438066 0ms] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0017] [1057438066 31ms] dns: exchanged SOA github.com. 692 IN SOA ns-1707.awsdns-21.co.uk. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400
INFO[0017] [1057438066 41ms] dns: exchanged A github.com. 60 IN A 20.29.134.23
INFO[0017] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0017] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0017] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0017] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0023] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0023] [4028239626 0ms] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:53492
INFO[0023] [4028239626 0ms] inbound/tun[tun-in]: inbound packet connection to 9.9.9.9:53
INFO[0023] [4028239626 0ms] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0023] [4028239626 39ms] dns: exchanged CNAME mtalk.google.com. 207 IN CNAME mobile-gtalk.l.google.com.
INFO[0023] [4028239626 39ms] dns: exchanged A mobile-gtalk.l.google.com. 207 IN A 142.251.2.188
INFO[0023] [4028239626 45ms] dns: exchanged CNAME mtalk.google.com. 300 IN CNAME mobile-gtalk.l.google.com.
INFO[0023] [4028239626 45ms] dns: exchanged AAAA mobile-gtalk.l.google.com. 300 IN AAAA 2607:f8b0:4023:c0b::bc
INFO[0023] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0024] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0037] router: found process path: /opt/thorium-browser/thorium, user: jesse
INFO[0038] router: found process path: /opt/thorium-browser/thorium, user: jesse
>>>>>>>> Stopping profile [VLESS (Xray)] vless-reality
2026/07/23 22:18:50 [Info] sing-box closed in 20 ms
I decided to test this on Arch Linux with kernel 7.1.4-2-cachyos and found no issues with the stable version of sing-box-1.13.14. Several different vless protocols, as well as other protocols, work perfectly with any Tun stack. In the stable version of Throne 1.2.0, Tun also works with any stack, but I noticed that after pressing the "Stop" button, it takes quite a while for the interface to go down when gvisor is set as the stack. This doesn't happen with system and mixed. I can clearly see this
Try https://github.com/throneproj/Throne/actions/runs/30078801884
It might be worth trying a different DNS/DOH if you're in Russia. This is what the script is currently showing. I'm not sure how it determines this, but there have been recent attempts to block 8.8.8.8 and https://8.8.8.8/dns-query.
Try https://github.com/throneproj/Throne/actions/runs/30078801884
In this build, I get an error if "auto_redirect" is enabled and Tun isn't working (nftables and iptables are installed on the system). If "auto_redirect" is disabled, it works, but the delay between Tun and the gvisor stack remains. In sing-box, "auto_redirect" is enabled everywhere and there are no errors. And yes, this is not on Ubuntu, but Arch.
Try https://github.com/throneproj/Throne/actions/runs/30078801884
In this build, I get an error if "auto_redirect" is enabled and Tun isn't working (nftables and iptables are installed on the system). If "auto_redirect" is disabled, it works, but the delay between Tun and the gvisor stack remains. In sing-box, "auto_redirect" is enabled everywhere and there are no errors. And yes, this is not on Ubuntu, but Arch.
![]()
![]()
![]()
most likely related to https://github.com/SagerNet/sing-box/issues/4316, we need to migrate to 1.14 to have this fix.
most likely related to https://github.com/SagerNet/sing-box/issues/4316, we need to migrate to 1.14 to have this fix.
I'm no expert, but I've been using various versions and forks of sing-box lately, including the new build by hoaxisr, but mostly the stable extended build. I've now installed the original stable sing-box to test this issue, and I haven't encountered this problem anywhere. All my configurations have long been edited and duplicated to take sing-box 14.0 into account, and I often install alpha versions, but I usually use compatible versions. "auto_redirect": true is set everywhere, and I haven't touched it in a while. But if they report this, then the problem most likely exists.
it is because the issue occurs when there are excluded subnets. Set Dsiable private range Bypass in Tun settings and the profile would start with auto redirect enabled too
it is because the issue occurs when there are excluded subnets. Set
Dsiable private range Bypassin Tun settings and the profile would start with auto redirect enabled too
Yes, everything works fine in Throne now, and there are no errors. The only strange thing is that the "ip_is_private": true option is missing from my configurations, if I understand correctly, and I don't remember why I removed it. I think it was related to the upgrade to alpha sing-box 14.0. However, my rules include "geosite-private" as a workaround, which is probably why no errors occurred, even though everything is the same in Throne. Oh well, I need to look into this further.
Regarding the delay in shutting down the Tun-gVisor interface, it might just be my imagination and it's not critical. I usually use System or Mixed. I wrote it down as best I could.
https://github.com/user-attachments/assets/0c562755-9f80-455b-9644-129de1530490
