mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2643] [Feature Request] Dynamic stcp address/port allocation #2105
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#2105
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 @v20z on GitHub (Oct 31, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2643
Describe the feature request
The idea is not to create predefined fixed static configurations for each node.
First time stcp/hidden forwarder connects to server and do not open any ports but just silently waiting for incoming requests. Displayed in the dashboard as pending by user name for example.
When connector/redirector initiate connection to it and supply to him specific/desired service_name / redirect_port / redirect_addr which forwader redirect back to this connector.
Opposite:
Or at command line:
Describe alternatives you've considered
Here is similar project:
https://gitlab.com/hev/hev-fsh/blob/master/README.md
Accept all TCP ports
fsh -f -p 10.0.0.1
Affected area
@fatedier commented on GitHub (Nov 1, 2021):
It will bring more risk to common users. I prefer not to allow visitors bind any port on a internal machine.
@v20z commented on GitHub (Nov 1, 2021):
Thanks for your reply, fatedier.
It was just an idea to make the configuration lighter and easier to automate and generalize it.
However, you could apply
allow_portsdirective at[common]section to assign which ports possible to redirect.But of course this is your decision and we accept it because you are the author and you have a vision of the situation.
Anyway please continue developing, your program is interesting and useful.
Thank You.
@github-actions[bot] commented on GitHub (Dec 2, 2021):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.