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

在只有公网IP的情况下如何开放多个端口 #4300

Closed
3 of 11 tasks
EEE1even opened this issue Jun 24, 2024 · 2 comments
Closed
3 of 11 tasks

在只有公网IP的情况下如何开放多个端口 #4300

EEE1even opened this issue Jun 24, 2024 · 2 comments

Comments

@EEE1even
Copy link

Describe the feature request

内网有多个网站,但是frps中只能配置一个vhostHTTPPort,我应该如何配置才能实现111.222.333.11:3000111.222.333.11:8080这样用公网IP加端口号的方式访问多个内网网站

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
@subei12
Copy link

subei12 commented Jun 25, 2024

tcp的类型可以
例如:

[[proxies]]
name = "web-8080"
type = "tcp"
localIP = "127.0.0.1"
localPort = 8080
remotePort = 8080

[[proxies]]
name = "web-3000"
type = "tcp"
localIP = "127.0.0.1"
localPort = 3000
remotePort = 3000

@EEE1even
Copy link
Author

解决了,非常感谢!

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

3 participants