Tunnel inbound: Add portMap config (local listening port -> remote specified address/port)

Completes https://github.com/XTLS/Xray-core/pull/4968
This commit is contained in:
RPRX
2025-08-02 14:58:56 +00:00
committed by GitHub
parent b2829219a0
commit 146b14ab55
4 changed files with 74 additions and 35 deletions

View File

@@ -13,6 +13,8 @@ message Config {
xray.common.net.IPOrDomain address = 1;
uint32 port = 2;
map<string, string> port_map = 3;
// List of networks that the Dokodemo accepts.
repeated xray.common.net.Network networks = 7;