[GH-ISSUE #1238] server add. 可以用域名替代IP地址设置吗?如何实现局域网内自动分配IP和端口? #976

Closed
opened 2026-05-05 12:37:53 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @kentcc88 on GitHub (May 9, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1238

Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)

Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

What version of frp are you using (./frpc -v or ./frps -v)?

What operating system and processor architecture are you using (go env)?

Configures you used:

Steps to reproduce the issue:
1.
2.
3.

Describe the results you received:

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

Can you point out what caused this issue (optional)

你好,我想问问,服务器端的ini配置里,server add 选项可以用域名替代IP地址设置吗?
另外,假设我局域网上有n个pi,可以用什么方法让他们每次启动之后,可以自动分配IP和端口与服务器端那边匹配,要实现的话困不困难?

Originally created by @kentcc88 on GitHub (May 9, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1238 Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. (为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。) Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST **What version of frp are you using (./frpc -v or ./frps -v)?** **What operating system and processor architecture are you using (`go env`)?** **Configures you used:** **Steps to reproduce the issue:** 1. 2. 3. **Describe the results you received:** **Describe the results you expected:** **Additional information you deem important (e.g. issue happens only occasionally):** **Can you point out what caused this issue (optional)** 你好,我想问问,服务器端的ini配置里,server add 选项可以用域名替代IP地址设置吗? 另外,假设我局域网上有n个pi,可以用什么方法让他们每次启动之后,可以自动分配IP和端口与服务器端那边匹配,要实现的话困不困难?
Author
Owner

@xxsq commented on GitHub (May 13, 2019):

可以使用自定义二级域名进行配置,参考:https://github.com/fatedier/frp/blob/master/README_zh.md#%E8%87%AA%E5%AE%9A%E4%B9%89%E4%BA%8C%E7%BA%A7%E5%9F%9F%E5%90%8D

<!-- gh-comment-id:491646533 --> @xxsq commented on GitHub (May 13, 2019): 可以使用自定义二级域名进行配置,参考:https://github.com/fatedier/frp/blob/master/README_zh.md#%E8%87%AA%E5%AE%9A%E4%B9%89%E4%BA%8C%E7%BA%A7%E5%9F%9F%E5%90%8D
Author
Owner

@fatedier commented on GitHub (Jun 4, 2019):

  • 服务器端没有什么 server add 选项。
  • 自动分配 IP 是你自己的事情。
<!-- gh-comment-id:498513799 --> @fatedier commented on GitHub (Jun 4, 2019): * 服务器端没有什么 server add 选项。 * 自动分配 IP 是你自己的事情。
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#976
No description provided.