sing-box icon indicating copy to clipboard operation
sing-box copied to clipboard

VoWiFi not working

Open uenokatsura opened this issue 9 months ago • 1 comments

Operating system

iOS

System version

iOS 17.4.1

Installation type

sing-box for iOS Graphical Client

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

1.8.13

Version

No response

Description

VoWiFi not seems to working even with direct in - direct out.

Reproduction

includeAllNetworks: True excludeCellularServices: False

{
    "log": {
        "level": "debug"
    },
    "inbounds": [
        {
            "tag": "TUN IN",
            "type": "tun",
            "stack": "system",
            "endpoint_independent_nat": true,
            "inet4_address": [
                "172.30.0.1/31"
            ],
            "inet6_address": [
                "2002:ac1e::1/127"
            ],
            "auto_route": true,
            "sniff": true,
            "domain_strategy": ""
        }
    ],
    "outbounds": [
        {
            "tag": "DNS",
            "type": "dns"
        },
        {
            "tag": "Direct",
            "type": "direct"
        }
    ],
    "dns": {
        "final": "Bootstrap DNS",
        "independent_cache": true,
        "servers": [
            {
                "tag": "Bootstrap DNS",
                "address": "tcp://9.9.9.11:9953",
                "detour": "Direct"
            }
        ],
        "rules": [
        ]
    },
    "route": {
        "final": "Direct",
        "auto_detect_interface": true,
        "rules": [
            {
                "port": 53,
                "outbound": "DNS"
            },
            {
                "ip_is_private": true,
                "outbound": "Direct"
            }
        ]
    }
}

Changing stack from "system" to "gvisor" won't help.

Logs

The few lines related to vowifi

24-05-14 18:57:59[ info ]dns: exchanged epdg.epc.mnc092.mcc466.pub.3gppnetwork.org SOA epdg.epc.mnc092.mcc466.pub.3gppnetwork.org. 3600 IN SOA dns.hinet.net. hostmaster.hinet.net. 2023101700 3600 1800 1209600 3600
24-05-14 18:57:59[ debug ]dns: exchanged epdg.epc.mnc092.mcc466.pub.3gppnetwork.org NOERROR 3600
24-05-14 18:57:59[ info ]dns: exchanged epdg.epc.mnc092.mcc466.pub.3gppnetwork.org. A epdg.epc.mnc092.mcc466.pub.3gppnetwork.org. 207 IN A 221.120.20.11
24-05-14 18:57:59[ info ]dns: exchanged epdg.epc.mnc092.mcc466.pub.3gppnetwork.org. A epdg.epc.mnc092.mcc466.pub.3gppnetwork.org. 207 IN A 221.120.20.1
24-05-14 18:57:59[ info ]dns: exchanged epdg.epc.mnc092.mcc466.pub.3gppnetwork.org. A epdg.epc.mnc092.mcc466.pub.3gppnetwork.org. 207 IN A 221.120.23.11
24-05-14 18:57:59[ info ]dns: exchanged epdg.epc.mnc092.mcc466.pub.3gppnetwork.org. A epdg.epc.mnc092.mcc466.pub.3gppnetwork.org. 207 IN A 221.120.23.1
24-05-14 18:57:59[ info ]dns: exchanged epdg.epc.mnc092.mcc466.pub.3gppnetwork.org A epdg.epc.mnc092.mcc466.pub.3gppnetwork.org. 207 IN A 221.120.20.11
24-05-14 18:57:59[ info ]dns: exchanged epdg.epc.mnc092.mcc466.pub.3gppnetwork.org A epdg.epc.mnc092.mcc466.pub.3gppnetwork.org. 207 IN A 221.120.20.1
24-05-14 18:57:59[ info ]dns: exchanged epdg.epc.mnc092.mcc466.pub.3gppnetwork.org A epdg.epc.mnc092.mcc466.pub.3gppnetwork.org. 207 IN A 221.120.23.11
24-05-14 18:57:59[ info ]dns: exchanged epdg.epc.mnc092.mcc466.pub.3gppnetwork.org A epdg.epc.mnc092.mcc466.pub.3gppnetwork.org. 207 IN A 221.120.23.1
24-05-14 18:57:59[ debug ]dns: exchanged epdg.epc.mnc092.mcc466.pub.3gppnetwork.org NOERROR 207
24-05-14 18:57:58[ info ]outbound/direct[Direct]: outbound connection to 9.9.9.11:9953
24-05-14 18:57:58[ debug ]dns: exchange epdg.epc.mnc092.mcc466.pub.3gppnetwork.org. IN AAAA
24-05-14 18:57:58[ debug ]dns: exchange epdg.epc.mnc092.mcc466.pub.3gppnetwork.org. IN A
24-05-14 18:57:58[ debug ][3376161557 0ms] router: match[0] port=53 => DNS
24-05-14 18:57:58[ debug ][2966188394 0ms] router: match[0] port=53 => DNS
24-05-14 18:57:58[ debug ][3376161557 0ms] router: sniffed packet protocol: dns
24-05-14 18:57:58[ debug ][2966188394 0ms] router: sniffed packet protocol: dns
24-05-14 18:57:58[ info ][3376161557 0ms] inbound/tun[TUN IN]: inbound packet connection to 172.30.0.2:53
24-05-14 18:57:58[ info ][3376161557 0ms] inbound/tun[TUN IN]: inbound packet connection from 172.30.0.1:53616
24-05-14 18:57:58[ info ][2966188394 0ms] inbound/tun[TUN IN]: inbound packet connection to 172.30.0.2:53
24-05-14 18:57:58[ info ][2966188394 0ms] inbound/tun[TUN IN]: inbound packet connection from 172.30.0.1:59110

Supporter

Integrity requirements

  • [X] 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.
  • [X] 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.
  • [X] 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.
  • [X] 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.

uenokatsura avatar May 14 '24 11:05 uenokatsura