feat: replace panel proxy URL with outbound-based egress bridge
Instead of requiring a manual SOCKS5/HTTP URL, the panel now lets the admin pick an Xray outbound from a dropdown (same UX as Geodata Auto-Update). At runtime, injectPanelEgress appends a loopback SOCKS inbound (tag: panel-egress) and prepends a routing rule so the panel's own HTTP traffic — version checks, Telegram, normal geo-file updates — is routed through the chosen outbound. Xray-native Geodata Auto-Update is unaffected (it uses its own geodata.outbound inside Xray). Blackhole outbounds are excluded from both picker dropdowns since routing any download through one just drops it. Translations updated for all 13 locales.
This commit is contained in:
1 parent
6b16d8c37a
commit
ca4f32e3da
29 files changed
+352
-73
No files matched your search
@@ -120,8 +120,8 @@
|
||||
"minimum": 0,
|
||||
"type": "integer"
|
||||
},
|
||||
"panelProxy": {
|
||||
"description": "Proxy URL for the panel's own outbound requests (GitHub/Telegram)",
|
||||
"panelOutbound": {
|
||||
"description": "Xray outbound tag for the panel's own outbound HTTP (update checks/downloads, Telegram, geo updates, outbound-subscription fetches)",
|
||||
"type": "string"
|
||||
},
|
||||
"remarkModel": {
|
||||
@@ -383,7 +383,7 @@
|
||||
"ldapUserFilter",
|
||||
"ldapVlessField",
|
||||
"pageSize",
|
||||
"panelProxy",
|
||||
"panelOutbound",
|
||||
"remarkModel",
|
||||
"restartXrayOnClientDisable",
|
||||
"sessionMaxAge",
|
||||
@@ -554,8 +554,8 @@
|
||||
"minimum": 0,
|
||||
"type": "integer"
|
||||
},
|
||||
"panelProxy": {
|
||||
"description": "Proxy URL for the panel's own outbound requests (GitHub/Telegram)",
|
||||
"panelOutbound": {
|
||||
"description": "Xray outbound tag for the panel's own outbound HTTP (update checks/downloads, Telegram, geo updates, outbound-subscription fetches)",
|
||||
"type": "string"
|
||||
},
|
||||
"remarkModel": {
|
||||
@@ -823,7 +823,7 @@
|
||||
"ldapUserFilter",
|
||||
"ldapVlessField",
|
||||
"pageSize",
|
||||
"panelProxy",
|
||||
"panelOutbound",
|
||||
"remarkModel",
|
||||
"restartXrayOnClientDisable",
|
||||
"sessionMaxAge",
|
||||
|
||||
@@ -26,7 +26,7 @@ export const EXAMPLES: Record<string, unknown> = {
|
||||
"ldapUserFilter": "",
|
||||
"ldapVlessField": "",
|
||||
"pageSize": 0,
|
||||
"panelProxy": "",
|
||||
"panelOutbound": "",
|
||||
"remarkModel": "",
|
||||
"restartXrayOnClientDisable": false,
|
||||
"sessionMaxAge": 1,
|
||||
@@ -115,7 +115,7 @@ export const EXAMPLES: Record<string, unknown> = {
|
||||
"ldapUserFilter": "",
|
||||
"ldapVlessField": "",
|
||||
"pageSize": 0,
|
||||
"panelProxy": "",
|
||||
"panelOutbound": "",
|
||||
"remarkModel": "",
|
||||
"restartXrayOnClientDisable": false,
|
||||
"sessionMaxAge": 1,
|
||||
|
||||
@@ -94,8 +94,8 @@ export const SCHEMAS: Record<string, unknown> = {
|
||||
"minimum": 0,
|
||||
"type": "integer"
|
||||
},
|
||||
"panelProxy": {
|
||||
"description": "Proxy URL for the panel's own outbound requests (GitHub/Telegram)",
|
||||
"panelOutbound": {
|
||||
"description": "Xray outbound tag for the panel's own outbound HTTP (update checks/downloads, Telegram, geo updates, outbound-subscription fetches)",
|
||||
"type": "string"
|
||||
},
|
||||
"remarkModel": {
|
||||
@@ -357,7 +357,7 @@ export const SCHEMAS: Record<string, unknown> = {
|
||||
"ldapUserFilter",
|
||||
"ldapVlessField",
|
||||
"pageSize",
|
||||
"panelProxy",
|
||||
"panelOutbound",
|
||||
"remarkModel",
|
||||
"restartXrayOnClientDisable",
|
||||
"sessionMaxAge",
|
||||
@@ -528,8 +528,8 @@ export const SCHEMAS: Record<string, unknown> = {
|
||||
"minimum": 0,
|
||||
"type": "integer"
|
||||
},
|
||||
"panelProxy": {
|
||||
"description": "Proxy URL for the panel's own outbound requests (GitHub/Telegram)",
|
||||
"panelOutbound": {
|
||||
"description": "Xray outbound tag for the panel's own outbound HTTP (update checks/downloads, Telegram, geo updates, outbound-subscription fetches)",
|
||||
"type": "string"
|
||||
},
|
||||
"remarkModel": {
|
||||
@@ -797,7 +797,7 @@ export const SCHEMAS: Record<string, unknown> = {
|
||||
"ldapUserFilter",
|
||||
"ldapVlessField",
|
||||
"pageSize",
|
||||
"panelProxy",
|
||||
"panelOutbound",
|
||||
"remarkModel",
|
||||
"restartXrayOnClientDisable",
|
||||
"sessionMaxAge",
|
||||
|
||||
Loaded 3 of 29 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user