mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #1773] 如何配置 和frpc不在同一台机子的 内网web转发 #1402
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#1402
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 @dulm on GitHub (Apr 21, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1773
我看官方例子没有配置ip的地方, 是否只能支持本机, 有没有只使用frp支持暴露其他机子web服务的方法?
已有解决方案
@yingziwu commented on GitHub (Apr 23, 2020):
设置
local_ip就可以了。比方说:你的网站域名
example.com,现在运行frpc的机器内网IP192.168.100.1,你现在想把example.com请求转发至192.168.100.114,只需要把local_ip设定为转发目的地就可以了。另外
local_ip只是转发的目的地,并不局限于内网IP,你将local_ip设置为公网IP也是没有问题的。