-
-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
穿透内网多个http端口出来 #3929
Comments
我需要内网多个端口,同时穿透映射到外网一样的端口,不然我要改动调整,直接端口对端口,简单, |
已处理,用tcp,服务端,监听多个端口,客服端,绑定映射多个端口 |
方便看下配置项嘛? [[proxies]] [[web_cas]] [[web_homeassistant]] 服务端: |
应该要都是[[proxies]] |
Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close. |
Bug Description
frpc.toml:
serverAddr = "x.x.x.x"
serverPort = 7000
[[proxies]]
name = "web"
type = "http"
localIP = "127.0.0.1"
localPort = 8000
customDomains = ["x.x.x.x"]
[[proxies]]
name = "mobile"
type = "http"
localIP = "127.0.0.1"
localPort = 8080
customDomains = ["x.x.x.x:8080"]
[[proxies]]
name = "file"
type = "http"
localIP = "127.0.0.1"
localPort = 9300
customDomains = ["x.x.x.x:9300"]
frps.toml:
bindPort = 7000
vhostHTTPPort = 80
目前这样无法通过ip映射多个端口,x.x.x.x是公网ip,目前没有域名,备案麻烦
frpc Version
frp_0.53.0_windows_amd64
frps Version
frp_0.53.2_linux_amd64
System Architecture
client: windows, server: centos7
Configurations
frpc.toml:
serverAddr = "x.x.x.x"
serverPort = 7000
[[proxies]]
name = "web"
type = "http"
localIP = "127.0.0.1"
localPort = 8000
customDomains = ["x.x.x.x"]
[[proxies]]
name = "mobile"
type = "http"
localIP = "127.0.0.1"
localPort = 8080
customDomains = ["x.x.x.x:8080"]
[[proxies]]
name = "file"
type = "http"
localIP = "127.0.0.1"
localPort = 9300
customDomains = ["x.x.x.x:9300"]
frps.toml:
bindPort = 7000
vhostHTTPPort = 80
Logs
No response
Steps to reproduce
...
Affected area
The text was updated successfully, but these errors were encountered: