zhboner / realm

A network relay tool
MIT License
1.61k stars 291 forks source link

请问如何转发端口段? #136

Closed ppoiissbsjksms closed 2 months ago

ppoiissbsjksms commented 3 months ago

你好,使用examples/full.json配置文件,请问如何批量转发1.1.1.1的1-10000端口到1.1.1.2的1-10000端口

"endpoints": [ { "listen": "0.0.0.0:5000", "remote": "1.1.1.1:443", "extra_remotes": [ "1.1.1.2:443", "1.1.1.3:443" ], "balance": "roundrobin: 4, 2, 1", "through": "0.0.0.0", "interface": "lo" }, { "listen": "0.0.0.0:10000", "remote": "www.google.com:443", "extra_remotes": [ "www.youtube.com:443" ], "balance": "roundrobin: 2, 1", "through": "0.0.0.0", "interface": "wlan0" } ]

zephyrchien commented 2 months ago

There's no such magic in the available config properties.

123