Skip to content

Commit

Permalink
Merge pull request mack-a#931 from ryan-web-dev/master
Browse files Browse the repository at this point in the history
fix(脚本): 修改xray-core内核下新增socks5入站后sing-box启动异常问题
  • Loading branch information
mack-a authored Jan 31, 2024
2 parents 4c8c90e + 56ff217 commit bd48e14
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 bd48e14

Please sign in to comment.