mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #110] 关于服务器流量问题 #56
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#56
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 @yi-ge on GitHub (Sep 10, 2016).
Original GitHub issue: https://github.com/fatedier/frp/issues/110
我研究了文档,但是没弄明白一个问题。如果用frp进行内网穿透,那么内网服务器的流量会像VPN那样全部转发到外网服务器吗?如果我在内网假设了服务器,客户端下载这个服务器的资源。流量会全部经传外网服务器吗?还是说只是端口转发的流量经传,实际文件大小的流量不经过外网服务器?
@fatedier commented on GitHub (Sep 10, 2016):
和 vpn 不同,不是所有流量都经过外网服务器转发,只有你配置了的本地端口的流量才会经过服务器转发。
@yi-ge commented on GitHub (Sep 10, 2016):
那假如说我配置了本地80端口做静态资源服务器,外网服务器中的frps绑定域名abc.com和8080到本地80端口,我通过外网访问abc.com:8080下载静态资源服务器中的100M视频。这个视频所有流量都会经过外网服务器转发吗?
@fatedier commented on GitHub (Sep 10, 2016):
是的。
@yi-ge commented on GitHub (Sep 11, 2016):
那有没有什么办法让外网服务器只做搭桥作用,不实际承担流量呢?如果能解决这个问题,想必frp能创造更大价值。
@JimLee1996 commented on GitHub (Sep 11, 2016):
那必须有路由功能支持;或者支持udp打洞之类的吧。。。
@yi-ge commented on GitHub (Sep 11, 2016):
@JimLee1996 恩。理论上是这样,但是如果HTTP协议就不好做。
@JimLee1996 commented on GitHub (Sep 11, 2016):
嗯嗯!非常支持!我也要向你们这些大神学习
;-)
@lnzoro commented on GitHub (Sep 18, 2016):
支持udp就行吧
@Foristkirito commented on GitHub (Nov 21, 2017):
所以这个功能最后解决了吗 @yi-ge
@liunianbanbo commented on GitHub (Feb 1, 2018):
同想实现外网服务器不承担实际流量的需求