[GH-ISSUE #1933] 能否二级域名映射,同一端口支持多个域名,服务端暴露过多端口网络安全不允许 #1534

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

Originally created by @qianlei33 on GitHub (Aug 6, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1933

能否二级域名映射,同一端口支持多个域名,服务端暴露过多端口网络安全不允许,谢谢

Originally created by @qianlei33 on GitHub (Aug 6, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/1933 能否二级域名映射,同一端口支持多个域名,服务端暴露过多端口网络安全不允许,谢谢
Author
Owner

@Becods commented on GitHub (Aug 6, 2020):

多域名:
https://github.com/fatedier/frp/blob/master/conf/frps_full.ini#L20
https://github.com/fatedier/frp/blob/master/conf/frps_full.ini#L21
https://github.com/fatedier/frp/blob/master/README_zh.md#通过自定义域名访问部署于内网的-web-服务
二级域名:
https://github.com/fatedier/frp/blob/master/README_zh.md#二级域名

建议看完wiki/issue再来问,你的问题可能已经有了类似的解决方案

如果问题已解决,请劳烦顺手点一下Close issue

<!-- gh-comment-id:669655971 --> @Becods commented on GitHub (Aug 6, 2020): 多域名: https://github.com/fatedier/frp/blob/master/conf/frps_full.ini#L20 https://github.com/fatedier/frp/blob/master/conf/frps_full.ini#L21 https://github.com/fatedier/frp/blob/master/README_zh.md#通过自定义域名访问部署于内网的-web-服务 二级域名: https://github.com/fatedier/frp/blob/master/README_zh.md#二级域名 建议看完wiki/issue再来问,你的问题可能已经有了类似的解决方案 如果问题已解决,请劳烦顺手点一下Close issue
Author
Owner

@jiangyan33 commented on GitHub (Sep 18, 2020):

服务器端和客户端都配置成功了,控制台打印出来的信息也是提示成功,但是二级域名映射到本地服务就是访问不了,我还差点什么吗?
service
client
域名解析我也配置了

@BecodReyes

<!-- gh-comment-id:694678526 --> @jiangyan33 commented on GitHub (Sep 18, 2020): 服务器端和客户端都配置成功了,控制台打印出来的信息也是提示成功,但是二级域名映射到本地服务就是访问不了,我还差点什么吗? ![service](https://user-images.githubusercontent.com/35300813/93563029-b3db9680-f9b9-11ea-93ef-441f4ce2e6eb.png) ![client](https://user-images.githubusercontent.com/35300813/93563035-b63df080-f9b9-11ea-8aa4-10fbbe2bec6f.png) 域名解析我也配置了 @BecodReyes
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#1534
No description provided.