diff --git a/backend/package.json b/backend/package.json index e25e91d89..be4c50058 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.14.361", + "version": "2.14.362", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "main": "src/main.js", "scripts": { diff --git a/backend/src/core/proxy-utils/producers/loon.js b/backend/src/core/proxy-utils/producers/loon.js index c51c0c4f1..39f3cd480 100644 --- a/backend/src/core/proxy-utils/producers/loon.js +++ b/backend/src/core/proxy-utils/producers/loon.js @@ -363,6 +363,11 @@ function socks5(proxy) { // tfo result.appendIfPresent(`,tfo=${proxy.tfo}`, 'tfo'); + // udp + if (proxy.udp) { + result.append(`,udp=true`); + } + return result.toString(); }