[GH-ISSUE #3622] [Feature Request] Stun Support username and credential #2891

Closed
opened 2026-05-05 13:52:04 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @chuanxinwong on GitHub (Sep 18, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3622

Describe the feature request

我使用coturn搭建了一个stun服务,带有账号密码, 在webRTC中使用正常:

var stun = {
    iceServers: [
      // my server
      {
        urls: "turn:xxx.xx.xx.xxx:3478",
        username: "joey",
        credential: "bluebluesky",
      },
      //{ urls: "stun:stun.services.mozilla.com" },
     // { urls: "stun:stun.l.google.com:19302" },
    ],
  },

我在frp中的写法:

[common]
server_addr = xx.xx.xx.xxx
server_port = 7000
token = eFFwDjrG
nat_hole_stun_server joey:bluebluesky@xxx.xx.xx.xxx:3478

要如何设置用户名密码?

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 @chuanxinwong on GitHub (Sep 18, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3622 ### Describe the feature request 我使用coturn搭建了一个stun服务,带有账号密码, 在webRTC中使用正常: ```js var stun = { iceServers: [ // my server { urls: "turn:xxx.xx.xx.xxx:3478", username: "joey", credential: "bluebluesky", }, //{ urls: "stun:stun.services.mozilla.com" }, // { urls: "stun:stun.l.google.com:19302" }, ], }, ``` 我在frp中的写法: ```ini [common] server_addr = xx.xx.xx.xxx server_port = 7000 token = eFFwDjrG nat_hole_stun_server joey:bluebluesky@xxx.xx.xx.xxx:3478 ``` 要如何设置用户名密码? ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [X] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:52:04 -06:00
Author
Owner

@fatedier commented on GitHub (Sep 18, 2023):

Not supported.

<!-- gh-comment-id:1723277237 --> @fatedier commented on GitHub (Sep 18, 2023): Not supported.
Author
Owner

@chuanxinwong commented on GitHub (Sep 19, 2023):

Not supported.

May I ask if there are any plans to support it in the future?

<!-- gh-comment-id:1724673433 --> @chuanxinwong commented on GitHub (Sep 19, 2023): > Not supported. May I ask if there are any plans to support it in the future?
Author
Owner

@fatedier commented on GitHub (Sep 19, 2023):

No plan for that. This seems to be something that very few ordinary users would need, and the subsequent maintenance cost of the related functionality is high. The cost of building this test environment is very high, and it is difficult for us to maintain it in the long term.

<!-- gh-comment-id:1724721554 --> @fatedier commented on GitHub (Sep 19, 2023): No plan for that. This seems to be something that very few ordinary users would need, and the subsequent maintenance cost of the related functionality is high. The cost of building this test environment is very high, and it is difficult for us to maintain it in the long term.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 20, 2023):

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

<!-- gh-comment-id:1771888921 --> @github-actions[bot] commented on GitHub (Oct 20, 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#2891
No description provided.