Skip to content

Commit

Permalink
fix(脚本): 修改xray-core内核下新增socks5入站后sing-box启动异常问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-web-dev authored Jan 31, 2024
1 parent 4c8c90e commit 56ff217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6773,7 +6773,7 @@ setSocks5InboundRouting() {
echoContent red " ---> 域名不可为空"
exit 0
fi
addSingBoxRouteRule "direct" "${socks5InboundRoutingDomain}" "socks5_inbound_route"
addSingBoxRouteRule "01_direct_outbound" "${socks5InboundRoutingDomain}" "socks5_inbound_route"
local route=
route=$(jq ".route.rules[0].inbound = [\"socks5_inbound\"]" "${singBoxConfigPath}socks5_inbound_route.json")
route=$(echo "${route}" | jq ".route.rules[0].source_ip_cidr=${socks5InboundRoutingIPs}")
Expand Down

0 comments on commit 56ff217

Please sign in to comment.