[GH-ISSUE #4196] [Feature Request] frp http using random port like tcp and udp #3304

Closed
opened 2026-05-05 14:07:56 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @ahmedvista on GitHub (Apr 30, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4196

Describe the feature request

Hi, I hope you are doing well.
i want to make frps to use multiple ports for http like others ( tcp and udp)

for example i want to set frpc.toml

proxies
name = "ssh_1"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 0

proxies
name = "http_1"
type = "http"
localIP = "127.0.0.1"
localPort = 80
subdomain = "frp1" >>>> remotePort = 0

to use it like host_doamin:port instead of frp1.host_doamin:80

is this a request for feature or i just do not know how to do it ?

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @ahmedvista on GitHub (Apr 30, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4196 ### Describe the feature request Hi, I hope you are doing well. i want to make frps to use multiple ports for http like others ( tcp and udp) for example i want to set frpc.toml [[proxies]] name = "ssh_1" type = "tcp" localIP = "127.0.0.1" localPort = 22 remotePort = 0 [[proxies]] name = "http_1" type = "http" localIP = "127.0.0.1" localPort = 80 subdomain = "frp1" >>>> remotePort = 0 to use it like host_doamin:port instead of frp1.host_doamin:80 is this a request for feature or i just do not know how to do it ? ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [X] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@xqzr commented on GitHub (Apr 30, 2024):

可以试试 设为 0
e81b36c5ba/conf/frps_full_example.toml (L52)

<!-- gh-comment-id:2085355532 --> @xqzr commented on GitHub (Apr 30, 2024): 可以试试 设为 `0` https://github.com/fatedier/frp/blob/e81b36c5ba3ee0b4b88ed8832f4a302ed3289bda/conf/frps_full_example.toml#L52
Author
Owner

@fatedier commented on GitHub (May 6, 2024):

There are currently no supported plans.

<!-- gh-comment-id:2095108054 --> @fatedier commented on GitHub (May 6, 2024): There are currently no supported plans.
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#3304
No description provided.