mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2771] http跳转的p2p模式 #2215
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#2215
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 @konijiji on GitHub (Jan 22, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2771
Describe the feature request
希望增加一个http跳转的p2p模式,就是把xxx.com定向到服务器ip,访问者访问http://xxx.com,服务器返回301跳转到http://路由器ip:port,这样访问者不用安装frp也可以p2p传输。
比如客户端有一个web服务是192.168.1.1:80,frp经过运营商nat后是1.1.1.1:12345,在服务器的frp能自动更新客户端的ip和端口信息。访问者直接访问http://xxx.com,xxx.com的ip指向服务器,服务器的frp返回301跳转到1.1.1.1:12345,这样访问者就可以直接访问到web服务,访问者也不用安装frp程序就可以直连web,这对一些web文件服务很有用
大多数运营商nat都是full clone nat。。。。
Describe alternatives you've considered
No response
Affected area
@fatedier commented on GitHub (Jan 23, 2022):
建议可以使用 DDNS。
@konijiji commented on GitHub (Jan 24, 2022):
和ddns不一样,我的意思是客户端frp将孔打好,然后服务端frp实现301跳转到这个孔。
比如客户端有一个web服务是192.168.1.1:80,frp经过运营商nat后是1.1.1.1:12345,在服务器的frp能自动更新客户端的ip和端口信息。访问者直接访问http://xxx.com,xxx.com的ip指向服务器,服务器的frp返回301跳转到1.1.1.1:12345,这样访问者就可以直接访问到web服务,访问者也不用安装frp程序就可以直连web,这对一些web文件服务很有用
@github-actions[bot] commented on GitHub (Feb 24, 2022):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.