[GH-ISSUE #4162] [Feature Request] #3278

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

Originally created by @linslZero on GitHub (Apr 16, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4162

Describe the feature request

nat_hole_stun_server 能否支持写多个
因为看代码是支持多个的


func Discover(stunServers []string, localAddr string)


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 @linslZero on GitHub (Apr 16, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4162 ### Describe the feature request nat_hole_stun_server 能否支持写多个 因为看代码是支持多个的 ``` func Discover(stunServers []string, localAddr string) ``` ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [X] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

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

不妨试试 写成数组

natHoleStunServer = ["stun.easyvoip.com:3478", "stun.cloudflare.com:3478"]

885278c045/conf/frpc_full_example.toml (L13)

<!-- gh-comment-id:2062408652 --> @xqzr commented on GitHub (Apr 17, 2024): 不妨试试 写成数组 ```toml natHoleStunServer = ["stun.easyvoip.com:3478", "stun.cloudflare.com:3478"] ``` https://github.com/fatedier/frp/blob/885278c045d6d7c865f0e7e5937f86057ce22b33/conf/frpc_full_example.toml#L13
Author
Owner

@fatedier commented on GitHub (Apr 18, 2024):

缺乏实际的场景,且不推荐,所以目前不会考虑支持。

<!-- gh-comment-id:2062912001 --> @fatedier commented on GitHub (Apr 18, 2024): 缺乏实际的场景,且不推荐,所以目前不会考虑支持。
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#3278
No description provided.