Skip to content

Problems with TUN mode after 1.2 #1798

Description

@Det-rovv

Operating system

Linux

System version

CachyOS rolling

Installation type

package manager

Version

1.2.4

Description

After version 1.2.0, the TUN mode simply stopped working properly for me. I tried various combinations of DNS and TUN settings, but nothing helped. Version 1.2.4 still hasn't resolved the issue. On version 1.1.6 everything works fine. Most likely the solution is very simple, but everything worked out of the box before.

Reproduction

  1. Install Thron
  2. Add proxy configuration
  3. Enable TUN mode
  4. Start the proxy
  5. No internet access (logs below)

Logs

>>>>>>>> Запуск профиля [VLESS (Xray)] AmneziaVPN
2026/08/22 23:15:44.681264 [Warning] core: Xray 26.7.28 started
ERROR[0000] dns/underlying[dns-direct]: No default interface
ERROR[0000] dns/underlying[dns-local]: No default interface
INFO[0000] network: updated default interface enp7s0, index 2
INFO[0000] dns/underlying[dns-direct]: underlying dns set to 192.168.0.1:53
INFO[0000] dns/underlying[dns-local]: underlying dns set to 192.168.0.1:53
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] inbound/tun[tun-in]: started at throne-tun
INFO[0000] sing-box started (0.06s)
INFO[0000] router: found process path: /usr/lib/systemd/systemd-resolved, user: systemd-resolve
INFO[0000] router: found process path: /usr/lib/systemd/systemd-resolved, user: systemd-resolve
INFO[0000] [4034102797 0ms] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:40027
INFO[0000] [4034102797 0ms] inbound/tun[tun-in]: inbound packet connection to 172.19.0.2:53
INFO[0000] [4238121512 0ms] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:57336
INFO[0000] [4034102797 0ms] router: found process path: /usr/lib/systemd/systemd-resolved, user: systemd-resolve
INFO[0000] [4238121512 0ms] inbound/tun[tun-in]: inbound packet connection to 172.19.0.2:53
INFO[0000] [4238121512 0ms] router: found process path: /usr/lib/systemd/systemd-resolved, user: systemd-resolve
INFO[0000] [4034102797 0ms] outbound/socks[proxy]: outbound connection to 8.8.8.8:443
INFO[0000] router: found process path: /opt/Throne/Throne, user: erol
INFO[0000] router: found process path: /opt/Throne/Throne, user: erol
INFO[0000] [3070713506 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:39148
INFO[0000] [3070713506 0ms] inbound/mixed[mixed-in]: inbound connection to ip-api.com:80
INFO[0000] [3070713506 0ms] router: found process path: /opt/Throne/Throne, user: erol
INFO[0000] [3070713506 0ms] outbound/socks[proxy]: outbound connection to ip-api.com:80
INFO[0001] router: found process path: /usr/lib/librewolf/librewolf, user: erol
INFO[0001] router: found process path: /usr/lib/librewolf/librewolf, user: erol
INFO[0001] [271840248 0ms] inbound/tun[tun-in]: inbound packet connection from 192.168.0.78:39496
INFO[0001] [271840248 0ms] inbound/tun[tun-in]: inbound packet connection to 64.233.164.101:443
INFO[0001] [271840248 0ms] router: found process path: /usr/lib/librewolf/librewolf, user: erol
INFO[0001] [271840248 0ms] outbound/socks[proxy]: outbound packet connection to 64.233.164.101:443
INFO[0001] router: found process path: /usr/lib/systemd/systemd-resolved, user: systemd-resolve
INFO[0001] router: found process path: /usr/lib/systemd/systemd-resolved, user: systemd-resolve
INFO[0001] [990760703 0ms] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:37348
INFO[0001] [990760703 0ms] inbound/tun[tun-in]: inbound packet connection to 172.19.0.2:53
INFO[0001] [1804198325 0ms] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:38833
INFO[0001] [1804198325 0ms] inbound/tun[tun-in]: inbound packet connection to 172.19.0.2:53
INFO[0001] [990760703 0ms] router: found process path: /usr/lib/systemd/systemd-resolved, user: systemd-resolve
INFO[0001] [1804198325 0ms] router: found process path: /usr/lib/systemd/systemd-resolved, user: systemd-resolve
INFO[0001] router: found process path: /usr/lib/systemd/systemd-resolved, user: systemd-resolve
INFO[0001] [1969618100 0ms] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:56590
INFO[0001] router: found process path: /usr/lib/systemd/systemd-resolved, user: systemd-resolve
INFO[0001] [1969618100 0ms] inbound/tun[tun-in]: inbound packet connection to 172.19.0.2:53
INFO[0001] [2835242259 0ms] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:45718
INFO[0001] [1969618100 0ms] router: found process path: /usr/lib/systemd/systemd-resolved, user: systemd-resolve
INFO[0001] [2835242259 0ms] inbound/tun[tun-in]: inbound packet connection to 172.19.0.2:53
INFO[0001] [2835242259 0ms] router: found process path: /usr/lib/systemd/systemd-resolved, user: systemd-resolve
ERROR[0010] [4034102797 10.0s] dns: exchange failed for ping.archlinux.org. IN A: context deadline exceeded
INFO[0010] [990760703 8.71s] outbound/socks[proxy]: outbound connection to 8.8.8.8:443
INFO[0010] [4034102797 10.0s] outbound/socks[proxy]: outbound connection to 8.8.8.8:443
ERROR[0011] [990760703 10.0s] dns: exchange failed for github.com. IN A: context deadline exceeded
INFO[0011] [4238121512 11.29s] outbound/socks[proxy]: outbound connection to 8.8.8.8:443
ERROR[0011] [4238121512 11.29s] dns: exchange failed for ping.archlinux.org. IN AAAA: dial tcp 127.0.0.1:35001: i/o timeout
INFO[0011] [1804198325 10.0s] outbound/socks[proxy]: outbound connection to 8.8.8.8:443
ERROR[0011] [1804198325 10.0s] dns: exchange failed for github.com. IN AAAA: dial tcp 127.0.0.1:35001: i/o timeout
INFO[0011] [1969618100 9.46s] outbound/socks[proxy]: outbound connection to 8.8.8.8:443
ERROR[0011] [1969618100 10.0s] dns: exchange failed for youtube.com. IN AAAA: context deadline exceeded
INFO[0011] [2835242259 10.0s] outbound/socks[proxy]: outbound connection to 8.8.8.8:443
ERROR[0011] [2835242259 10.0s] dns: exchange failed for youtube.com. IN A: dial tcp 127.0.0.1:35001: i/o timeout
INFO[0012] router: found process path: /usr/lib/systemd/systemd-resolved, user: systemd-resolve
>>>>>>>> Остановка профиля [VLESS (Xray)] AmneziaVPN
ERROR[0018] [4034102797 18.68s] dns: exchange failed for ping.archlinux.org. IN A: context canceled
INFO[0018] [990760703 17.39s] outbound/socks[proxy]: outbound connection to 8.8.8.8:443
INFO[0018] [2835242259 16.85s] outbound/socks[proxy]: outbound connection to 8.8.8.8:443
ERROR[0018] [990760703 17.39s] dns: exchange failed for github.com. IN A: dial tcp 127.0.0.1:35001: operation was canceled
ERROR[0018] [2835242259 16.85s] dns: exchange failed for youtube.com. IN A: dial tcp 127.0.0.1:35001: operation was canceled
INFO[0018] [1969618100 16.85s] outbound/socks[proxy]: outbound connection to 8.8.8.8:443
ERROR[0018] [1969618100 16.85s] dns: exchange failed for youtube.com. IN AAAA: dial tcp 127.0.0.1:35001: operation was canceled
INFO[0018] [4034102797 18.68s] outbound/socks[proxy]: outbound connection to 8.8.8.8:443
ERROR[0018] [4034102797 18.68s] dns: exchange failed for ping.archlinux.org. IN A: dial tcp 127.0.0.1:35001: operation was canceled
INFO[0018] [990760703 17.39s] outbound/socks[proxy]: outbound connection to 8.8.8.8:443
ERROR[0018] [990760703 17.39s] dns: exchange failed for github.com. IN A: dial tcp 127.0.0.1:35001: operation was canceled
INFO[0018] [1804198325 17.39s] outbound/socks[proxy]: outbound connection to 8.8.8.8:443
INFO[0018] [4238121512 18.69s] outbound/socks[proxy]: outbound connection to 8.8.8.8:443
ERROR[0018] [1804198325 17.39s] dns: exchange failed for github.com. IN AAAA: dial tcp 127.0.0.1:35001: operation was canceled
INFO[0018] [4238121512 18.69s] outbound/socks[proxy]: outbound connection to 8.8.8.8:443
ERROR[0018] [4238121512 18.69s] dns: exchange failed for ping.archlinux.org. IN AAAA: dial tcp 127.0.0.1:35001: operation was canceled
ERROR[0018] [4238121512 18.69s] dns: exchange failed for ping.archlinux.org. IN AAAA: dial tcp 127.0.0.1:35001: operation was canceled
INFO[0018] [1804198325 17.39s] outbound/socks[proxy]: outbound connection to 8.8.8.8:443
ERROR[0018] [1804198325 17.39s] dns: exchange failed for github.com. IN AAAA: dial tcp 127.0.0.1:35001: operation was canceled
2026/08/22 23:16:03 [Info] sing-box closed in 30 ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions