mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2718] [Feature Request] 有没有办法指定客户端(frpc)的端口与frps建立初始连接? #2171
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#2171
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 @scoryi on GitHub (Dec 24, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2718
Originally assigned to: @blizard863 on GitHub.
Describe the feature request
客户端frpc与frps建立连接的时候,使用的是随机端口。

有没有办法指定frpc的某个端口与frps建立连接?
Describe alternatives you've considered
No response
Affected area
@fatedier commented on GitHub (Dec 24, 2021):
Can do that but why?
@scoryi commented on GitHub (Dec 24, 2021):
因为在客户端前面的防火墙也限制了端口号,只有某几个端口号可以通过~
@fatedier commented on GitHub (Dec 24, 2021):
cc @bingtianbaihua
@fatedier commented on GitHub (Dec 29, 2021):
We discuss it and decide not to support this feature.
There may be multiple connections between frpc and frps, so you can't only specify one local port.
Instead, we will support
connect_local_ip.@github-actions[bot] commented on GitHub (Jan 29, 2022):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.