Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多端口下能否支持udp和tcp #162

Open
Auction99 opened this issue Oct 2, 2024 · 3 comments
Open

多端口下能否支持udp和tcp #162

Auction99 opened this issue Oct 2, 2024 · 3 comments
Labels
question General or technical questions

Comments

@Auction99
Copy link

咨询大佬个功能:
服务端配置多个端口,能不能实现,a端口使用tcp协议,b端口使用udp协议,谢谢大佬开发如此好用的协议

@enfein enfein added the question General or technical questions label Oct 3, 2024
@enfein
Copy link
Owner

enfein commented Oct 3, 2024

@Auction99
Copy link
Author

可以。

请看这个例子 https://github.com/enfein/mieru/blob/main/test/deploy/httptest/server_mix.json

谢谢大佬,按照这个配置已经解决了,还有个需求,客户端配置多个节点的话,能否为每个节点单独设置sock5代理端口,这样就能方便的在clash里设置节点分流了

@enfein
Copy link
Owner

enfein commented Oct 4, 2024

客户端配置多个节点的话,能否为每个节点单独设置sock5代理端口

现在每一个连接会随机分配一个节点,没有办法指定某个连接必须使用某个节点。

等 mieru 集成到 ClashMeta 内核之后,可以同时开多个独立的 mieru 客户端,这个问题就能解决了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question General or technical questions
Projects
None yet
Development

No branches or pull requests

2 participants