mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #1863] 我现在有100个硬件设备需要做映射到阿里的服务器时,我需要每个客户端配置一个端口?然后云服务器再去配置安全组开放对应端口吗? #1470
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#1470
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ScottProg on GitHub (Jun 17, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1863
有多个设备的时候 每个设备都会占用服务器的一个端口吗? 那如果是云服务器 我还需要每增加一个设备 我就得开放出一个端口吗?
@eddyyuen commented on GitHub (Jun 17, 2020):
昨天我们也遇到这个情况。有同事提出曾经看到某个类似的工具,能提供动态绑定端口的功能。
即 服务端可以指定如 3001为客户端SSH01的远程端口。待SSH01处理完以后,再设置3001为客户端SSH02的远程端口。
这样的好处是,只需少数几个端口就能服务很多客户端。
@coderhh commented on GitHub (Jun 17, 2020):
通过openvpn和frp配合可以实现一个端口访问整个内网的所有设备。
@sshuangliu commented on GitHub (Jun 20, 2020):
你的这一百个设备是在一个内网可以互访吗? 如果是,单独弄一台作为FRP client ,通过client去访问其他的。
端口太多,就不用端口转发了,直接代理搞定。放开SSH服务, 启用动态端口转发也行(类似代理),
或者楼上说的VPN(注意下VPN pool路由可达就行)最方便,
@sshuangliu commented on GitHub (Jun 20, 2020):
你说的应该是 SSH动态端口转发,SSH服务自带
@fatedier commented on GitHub (Aug 10, 2020):
https://gofrp.org/docs/examples/stcp/
https://gofrp.org/docs/features/tcpmux/
@eddyyuen commented on GitHub (Aug 11, 2020):
tcpmux如果支持 tcp 的话,就是我们之前想做到的