windows: the app's Outbounds page
Adding an outbound from a share link or a backend's JSON (checked here first, by the same parser as proxy-ctl; tagged from the link unless named); the list with each one's source, backend and detour, pinned or left out, its delay on request, and remove for the user's own; the routing mode; subscriptions added, updated and removed. dev-service.sh: the demo server resolves names over HTTPS (sing-box needs a resolver for its direct outbound, and plain DNS may be blocked). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7dfb3129f4
commit
a839d48e02
3 files changed
+249
-2
No files matched your search
@@ -24,7 +24,9 @@ cat >"$STATE/server.json" <<EOF
|
||||
{ "log": { "level": "warn" },
|
||||
"inbounds": [{ "type": "shadowsocks", "listen": "127.0.0.1", "listen_port": $SS,
|
||||
"method": "2022-blake3-aes-128-gcm", "password": "$KEY" }],
|
||||
"outbounds": [{ "type": "direct" }] }
|
||||
"dns": { "servers": [{ "type": "https", "tag": "local", "server": "1.1.1.1" }] },
|
||||
"outbounds": [{ "type": "direct" }],
|
||||
"route": { "default_domain_resolver": "local" } }
|
||||
EOF
|
||||
sing-box run -c "$STATE/server.json" &
|
||||
SERVER=$!
|
||||
|
||||
Reference in new issue
Block a user