[GH-ISSUE #3368] [Feature Request] I want to add a RegisterProxy plugin. #2694

Closed
opened 2026-05-05 13:44:09 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @itshaungmu on GitHub (Mar 20, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3368

Describe the feature request

I want to perform some operations after registering the TCP proxy, such as integrating with k8s and registering a service with k8s. The existing NewProxy method cannot meet your needs because the remote_port may not be clear at this time.

Describe alternatives you've considered

Update NewProxy so that the remote_port can be generated before calling the NewProxy plugin, and modify NewProxy to call it after checking the use of ports.

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @itshaungmu on GitHub (Mar 20, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3368 ### Describe the feature request I want to perform some operations after registering the TCP proxy, such as integrating with k8s and registering a service with k8s. The existing NewProxy method cannot meet your needs because the remote_port may not be clear at this time. ### Describe alternatives you've considered Update NewProxy so that the remote_port can be generated before calling the NewProxy plugin, and modify NewProxy to call it after checking the use of ports. ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [X] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:44:09 -06:00
Author
Owner

@fatedier commented on GitHub (Apr 11, 2023):

Managing and assigning ports within your plugin would simplify things, rather than making them complicated.

<!-- gh-comment-id:1502620115 --> @fatedier commented on GitHub (Apr 11, 2023): Managing and assigning ports within your plugin would simplify things, rather than making them complicated.
Author
Owner

@github-actions[bot] commented on GitHub (May 12, 2023):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1544935856 --> @github-actions[bot] commented on GitHub (May 12, 2023): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#2694
No description provided.