mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1472] tcp建议可以配置域名和子域名 #1159
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#1159
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @silverspray on GitHub (Oct 17, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1472
建议tcp可以向http一样可以配置域名和子域名,这样在远程的时候可以用不同的子域名和默认的远程端口(例如:22,3389)
@qiang-yu commented on GitHub (Oct 18, 2019):
http 协议支持域名,每一个 http 链接里面都会带上域名,所以可以识别
tcp 协议本身是不带域名的,无法实现
@Quaking commented on GitHub (Oct 23, 2019):
像花生壳之类的tcp也可以映射成域名加端口的方式的工作的;后面能配置tcp为域名是最好的了,继续支持。
@zhaoyc1990 commented on GitHub (Oct 25, 2019):
没用过花生壳,但frp 也可以域名加端口访问tcp 端口,并且在tcp协议上的http 或https 等都可以使用
@fatedier commented on GitHub (Oct 29, 2019):
TCP 无法支持,域名加端口,也是通过端口来路由,不是通过域名。
只有使用特殊协议通信的 TCP 才能支持,例如 HTTP/HTTPS,或者支持 SNI 协议。