mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1512] FRP能不能用HTTP模式转发所有访问? #1193
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#1193
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 @yuhuan21 on GitHub (Nov 12, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1512
因为我只有一台内网主机,我想用HTTP模式把内网主机的80端口映射到外网的80端口,而不是像现在80端口是通过域名来识别主机的,如果单纯用TCP模式映射,我就获取不到客户端的真实IP了,谢谢
这样应该怎么设置,谢谢
@fatedier commented on GitHub (Nov 12, 2019):
可以试下把 HTTP 的 custom_domains 设置为泛域名。
@tonyctp commented on GitHub (Nov 13, 2019):
如果你有外网主机给你个思路。
备注: frp不能直接映射服务端的80/443端口