Skip to content

All connections timeout on cellular since 1.11.0, Android tun #2636

Open
@nyarau

Description

Operating system

Android

System version

GrapheneOS 2025021100 (Android 15)

Installation type

sing-box for Android Graphical Client

If you are using a graphical client, please provide the version of the client.

No response

Version

Description

After upgrading to 1.11.0, everything works as expected under WiFi, but when the phone is on cellular, all connections timeout.

Reproduction

Install 1.10.6, import the following config, turn off WiFi, visit https://1.1.1.1/cdn-cgi/trace, the IP address of my cellular connection is returned;
Upgrade to 1.11.4, visit https://1.1.1.1/cdn-cgi/trace again, connection times out; Turn WiFi back on and restart sing-box, visit https://1.1.1.1/cdn-cgi/trace, the IP address of my WiFi connection is returned.

{
	"log": {
		"level": "info",
		"timestamp": false
	},
	"inbounds": [
		{
			"tag": "in-tun",
			"type": "tun",
			"address": ["172.19.0.1/30", "fdfe:dcba:9876::1/126"],
			"auto_route": true
		}
	],
	"outbounds": [
		{
			"type": "direct"
		}
	],
	"route": {
		"auto_detect_interface": true
	}
}

Logs

WiFi Cellular
1.10.6 Image Image
1.11.4 Image Image
Image

tun2 in the screenshots is a VPN running in another user profile, everything described above remains unchanged whether another user profile is running or not, tests have been done in both cases, forgot to turn it off when taking screenshots.

Thank you for yearlong work you've put in!

Logs

Supporter

Integrity requirements

  • I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
  • I confirm that I have provided the server and client configuration files and process that can be reproduced locally, instead of a complicated client configuration file that has been stripped of sensitive data.
  • I confirm that I have provided the simplest configuration that can be used to reproduce the error I reported, instead of depending on remote servers, TUN, graphical interface clients, or other closed-source software.
  • I confirm that I have provided the complete configuration files and logs, rather than just providing parts I think are useful out of confidence in my own intelligence.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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