Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Host配置中的local_ip, 能否用域名或者机器名代替? #2935

Closed
1 of 11 tasks
jonozw opened this issue May 13, 2022 · 2 comments
Closed
1 of 11 tasks

Comments

@jonozw
Copy link

jonozw commented May 13, 2022

Describe the feature request

当前我的使用方式是在文件服务器上开一个FRPC, 监听很多个Host, 然后将不同的Host映射到不同的PC上, 这样就不用每个人单独在PC上安装FRPC了, 从而让大家能在家远程登陆RDP.

服务器端每个用户的配置大致为
[SH_USER_XXX]
type = stcp
sk = 1234567890
local_ip = 192.168.1.123
local_port = 3389

但是一般来说, 除非将IP地址固定, 否则IP地址偶尔会改动

  1. 一个解决方法是在路由器端指定每台机器的静态IP地址.
  2. 另一个解决方案是, 能否用机器名替代IP地址? 比方说如下这样:
    [SH_USER_XXX]
    type = stcp
    sk = 1234567890
    local_ip = PC_XXX
    local_port = 3389

请评估一下, 谢谢

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
@fatedier
Copy link
Owner

可以使用域名

@jonozw
Copy link
Author

jonozw commented May 13, 2022

嗯嗯, 的确可以, 谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants