rnetx / sing-box

https://sing-box.sagernet.org
Other
71 stars 8 forks source link

Windows11不能自动设置系统代理 #5

Closed Testeera closed 1 year ago

Testeera commented 1 year ago

Welcome

Description of the problem

不能自动设置系统代理,最新版,mixed in set system proxy写了true了. 面板里只有svchost.exe是走mixed-in的

Version of sing-box

```console $ sing-box version # Paste output here ```

Server and client configuration file

```console # paste json here { "log": { "level": "info", "output": "sing-box.log", "timestamp": true }, "dns": { "servers": [ { "tag": "cloudflare", "address": "tls://1.1.1.1", "detour": "Proxy" }, { "tag": "fakedns", "address": "fakeip" }, { "tag": "dnspod", "address": "https://1.12.12.12/dns-query", "strategy": "ipv4_only", "detour": "direct" }, { "tag": "rcode", "address": "rcode://name_error" } ], "rules": [ { "outbound": "any", "server": "dnspod", "disable_cache": false }, { "geosite": "category-ads-all", "server": "rcode" }, { "domain_suffix": [ "msftconnecttest.com", "msftncsi.com" ], "geosite": [ "cn", "apple@cn", "category-games@cn" ], "server": "dnspod" } ], "fakeip": { "enabled": true, "inet4_range": "198.18.0.0/15", "inet6_range": "fc00::/18" }, "final": "fakedns" }, "route": { "auto_detect_interface": true }, "inbounds": [ { "type": "mixed", "tag": "mixed-in", "listen": "::", "listen_port": 1080, "sniff": true, "sniff_override_destination": true, "set_system_proxy": true }, { "type": "tun", "tag": "tun-in", "inet4_address": "172.19.0.1/30", "inet6_address": "fdfe:dcba:9876::1/126", "mtu": 9000, "interface_name": "sing-box", "auto_route": true, "strict_route": true, "stack": "system", "sniff": true, "sniff_override_destination": true } ], "proxyproviders": [ { "tag": "provider1", "url": "***", "force_update": "24h", "cache_file": "provider1.txt", "dns": "udp://223.5.5.5", "custom_group": [ { "tag": "Proxy", "type": "selector" } ] } ], "outbounds": [ { "type": "direct", "tag": "direct" }, { "type": "block", "tag": "block" }, { "type": "dns", "tag": "dns-out" } ], "route": { "rules": [ { "port": 53, "outbound": "dns-out" }, { "geosite": "category-ads-all", "outbound": "block" }, { "geosite": [ "apple@cn", "category-games@cn", "cn" ], "outbound": "direct" }, { "geoip": [ "cn", "private" ], "outbound": "direct" } ], "find_process": true, "final": "Proxy" }, "experimental": { "clash_api": { "external_controller": "127.0.0.1:9998", "external_ui_build_in": true, "store_selected": true, "store_fakeip": true } } } ```

Server and client log file

```console # paste log here [2023-06-02 15:48:06 UTC+08] INFO init proxy provider[0] [2023-06-02 15:48:06 UTC+08] INFO init proxy provider[0] done [2023-06-02 15:48:06 UTC+08] INFO router: loaded geoip database: 250 codes [2023-06-02 15:48:06 UTC+08] INFO router: loaded geosite database: 1396 codes [2023-06-02 15:48:06 UTC+08] INFO router: updated default interface WLAN, index 19 [2023-06-02 15:48:06 UTC+08] INFO clash-api: restful api listening at 127.0.0.1:9998 [2023-06-02 15:48:06 UTC+08] INFO inbound/mixed[mixed-in]: tcp server started at [::]:1080 ```
0xffffharry commented 1 year ago

请尝试使用上游源码是否有这样的问题

Testeera commented 1 year ago

重装原版系统解决了