mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1734] 静态文件插件如何同时使用xtcp p2p穿透模式 #1371
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#1371
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 @carlsue on GitHub (Apr 7, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1734
按照官方文档,这里必修指定服务器的远程端口,这个是正常的服务器转发模式,请问如何在使用p2p模式下使用静态文件插件?
frpc.ini
[common]
server_addr = x.x.x.x
server_port = 7000
[test_static_file]
type = tcp
remote_port = 6000
plugin = static_file
要对外暴露的文件目录
plugin_local_path = /tmp/file
访问 url 中会被去除的前缀,保留的内容即为要访问的文件路径
plugin_strip_prefix = static
plugin_http_user = abc
plugin_http_passwd = abc
@fatedier commented on GitHub (Apr 8, 2020):
结合以下两个文档配置。
点对点内网穿透
客户端插件