[GH-ISSUE #506] 路由器http转发失败 #386

Closed
opened 2026-05-05 12:12:09 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @TWQM on GitHub (Nov 1, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/506

Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)

Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

What version of frp are you using (./frpc -v or ./frps -v)?
0.13.0

What operating system and processor architecture are you using (go env)?
router: r6300v2 梅林固件 x7.6
server: vultr debian 8 x64

Configures you used:
frps.ini:
[common]
bind_addr = 0.0.0.0
bind_port = xxxx
kcp_bind_port = xxxx

vhost_http_port = 8880
vhost_https_port = 8443

privilege_token = yyyy
max_pool_count = 50
tcp_mux = true

frpc.ini:
[common]
server_addr = aa.aa.aa.aa
server_port = xxxx

privilege_token = yyyy
tcp_mux = true

login_fail_exit = true
protocol = kcp

[router]
type = http
local_ip = 127.0.0.1
local_port = 80
use_encryption = true
use_compression = true
custom_domains = cc.cc.com

Describe the results you received:

The page you visit not found.
Sorry, the page you are looking for is currently unavailable.
Please try again later.
The server is powered by frp.
Faithfully yours, frp.

frps.log
[D] [vhost.go:140] http request for host [aa.aa.aa.aa] path [/] not found

Describe the results you expected:
view the control panel of my router

Additional information you deem important (e.g. issue happens only occasionally):
the status on frps dashboard is online.
I try to change the protocol, use_encryption and use_compression, but nothing improved.

Originally created by @TWQM on GitHub (Nov 1, 2017). Original GitHub issue: https://github.com/fatedier/frp/issues/506 Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. (为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。) Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST **What version of frp are you using (./frpc -v or ./frps -v)?** 0.13.0 **What operating system and processor architecture are you using (`go env`)?** router: r6300v2 梅林固件 x7.6 server: vultr debian 8 x64 **Configures you used:** frps.ini: [common] bind_addr = 0.0.0.0 bind_port = xxxx kcp_bind_port = xxxx vhost_http_port = 8880 vhost_https_port = 8443 privilege_token = yyyy max_pool_count = 50 tcp_mux = true frpc.ini: [common] server_addr = aa.aa.aa.aa server_port = xxxx privilege_token = yyyy tcp_mux = true login_fail_exit = true protocol = kcp [router] type = http local_ip = 127.0.0.1 local_port = 80 use_encryption = true use_compression = true custom_domains = cc.cc.com **Describe the results you received:** The page you visit not found. Sorry, the page you are looking for is currently unavailable. Please try again later. The server is powered by frp. Faithfully yours, frp. frps.log [D] [vhost.go:140] http request for host [aa.aa.aa.aa] path [/] not found **Describe the results you expected:** view the control panel of my router **Additional information you deem important (e.g. issue happens only occasionally):** the status on frps dashboard is online. I try to change the protocol, use_encryption and use_compression, but nothing improved.
Author
Owner

@fatedier commented on GitHub (Nov 2, 2017):

你应该通过 custom_domains 来访问,而不是 server_addr

<!-- gh-comment-id:341451025 --> @fatedier commented on GitHub (Nov 2, 2017): 你应该通过 custom_domains 来访问,而不是 server_addr
Author
Owner

@ks55259980 commented on GitHub (Jan 30, 2018):

@fatedier 多谢 , 刚用还不怎么明白

<!-- gh-comment-id:361487567 --> @ks55259980 commented on GitHub (Jan 30, 2018): @fatedier 多谢 , 刚用还不怎么明白
Author
Owner

@Dakai commented on GitHub (Feb 14, 2019):

我现在遇到同样的问题,用custom_domains可以访问没问题,但是是给Plex设置的外网转发,必须要用ip地址登陆一次才Plex才可以成功外网访问,请问这样情况怎么办呢?

<!-- gh-comment-id:463533914 --> @Dakai commented on GitHub (Feb 14, 2019): 我现在遇到同样的问题,用custom_domains可以访问没问题,但是是给Plex设置的外网转发,必须要用ip地址登陆一次才Plex才可以成功外网访问,请问这样情况怎么办呢?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#386
No description provided.