mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1957] 能否做到服务器随机端口,客服端收到服务器所代理的中转端口 #1555
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#1555
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 @lunrs on GitHub (Aug 26, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1957
背景:
一些游戏中转需要服务端随机自动(随机)分配端口,而google了很多文章都只写到随机服务器端口,看具体是哪一个端口需要去服务器上看,而这对于游戏中转而言不太现实
建议:
能不能做到服务器随机端口,客服端收到服务器所代理的中转端口
@Becods commented on GitHub (Aug 26, 2020):
感觉你的需求是中转加速一类的东西吧
简洁描述,下文中 游戏服务端 我将称为server,游戏客户端 将称为client
不知对否
但是这样做仅仅会增加延迟,对游戏中转并无益处
@lunrs commented on GitHub (Aug 26, 2020):
就是这个意思,不过主要是用来内网穿透,实现一些游戏的点对点连接(client对client),以及隐藏client的ip地址
@Becods commented on GitHub (Aug 27, 2020):
详见xtcp
但是我觉得使用n2n或者zerotier这样的软件会更好些
@fatedier commented on GitHub (Sep 21, 2020):
@lunrs 可以通过服务端 API 来获取这个端口。
@github-actions[bot] commented on GitHub (Nov 6, 2020):
Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.