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

增加端口复用配置项 #517

Closed
chenyi0909 opened this issue Jun 26, 2024 · 3 comments
Closed

增加端口复用配置项 #517

chenyi0909 opened this issue Jun 26, 2024 · 3 comments

Comments

@chenyi0909
Copy link

有些使用场景下只开放一个端口使用给使用,该端口用于收发数据,gost监听后就无法在使用这个端口了,建议增加一个端口复用的配置项或命令行参数

@ginuerzh
Copy link
Member

你需要的是反向代理。

@chenyi0909
Copy link
Author

chenyi0909 commented Jun 26, 2024 via email

@ginuerzh
Copy link
Member

auto handler本身已经实现了端口复用,可以参考https://github.com/go-gost/x/blob/master/handler/auto/handler.go

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

No branches or pull requests

2 participants