fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
80.49k stars 12.74k forks source link

[Feature Request] #4162

Closed linslZero closed 4 weeks ago

linslZero commented 1 month ago

Describe the feature request

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


func Discover(stunServers []string, localAddr string)

Describe alternatives you've considered

No response

Affected area

xqzr commented 4 weeks ago

不妨试试 写成数组

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

https://github.com/fatedier/frp/blob/885278c045d6d7c865f0e7e5937f86057ce22b33/conf/frpc_full_example.toml#L13

fatedier commented 4 weeks ago

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