[GH-ISSUE #780] 关于转发套接字 #612

Closed
opened 2026-05-05 12:23:46 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @zmapleshine on GitHub (May 19, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/780

我在内网主机有个mysql服务,公网服务器有个域名,请问如何配置可以让mysql服务内网穿透映射出去?
比如在frpc里有:
[mysql]
type = tcp
local_port = 3306
remote_port = 3306
use_compression = true

但不希望直接使用frps的主机IP或者域名,而是增加
subdomain = mysql这样的支持,让客户端访问mysql.frpserverdomain.com

Originally created by @zmapleshine on GitHub (May 19, 2018). Original GitHub issue: https://github.com/fatedier/frp/issues/780 我在内网主机有个mysql服务,公网服务器有个域名,请问如何配置可以让mysql服务内网穿透映射出去? 比如在frpc里有: [mysql] type = tcp local_port = 3306 remote_port = 3306 use_compression = true 但不希望直接使用frps的主机IP或者域名,而是增加 subdomain = mysql这样的支持,让客户端访问mysql.frpserverdomain.com
Author
Owner

@fatedier commented on GitHub (May 19, 2018):

你对域名的使用姿势可能有误解,建议先自行搜索资料学习下。

<!-- gh-comment-id:390410861 --> @fatedier commented on GitHub (May 19, 2018): 你对域名的使用姿势可能有误解,建议先自行搜索资料学习下。
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#612
No description provided.