mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #4744] not routing local http server with ssh command #3749
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#3749
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 @itsKV on GitHub (Apr 6, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4744
Bug Description
I am using ssh gateway of frps to proxy local server to frps. Following is the ssh command I am executing on local machine...
ssh -R :8080:localhost:80 sub.domain.tld -p 2200 http --proxy_name proxy -t 12345678 -u user --custom_domain randomI can confirm that domain dns configuration is correct as
random.sub.domain.tldis replying frp's default 404 error while accessing random proxy. Otherwise, that would trigger my web-server's default 404 error file. When I try to access the url, I am getting following error in frps log file[httputil/reverseproxy.go:486] do http proxy request [host: random.sub.domain.tld:8080] error: no route found: random.sub.domain.tld:8080 /And I am not getting any traffic on web server of local machine. Server log says that. That means frp is not hitting my local web server which I am trying to proxy onto frps using frpc
Also, is there any exhaustive list of ssh switches frps is using? I couldn't find all the switches in available documentations. Also, --help show very few switches to use with frps
frpc Version
0.61.2
frps Version
0.61.2
System Architecture
linux/arm64
Configurations
Logs
No response
Steps to reproduce
...
Affected area
@itsKV commented on GitHub (Apr 12, 2025):
Additionally, after starting proxy from client, running
curl random.localhost:8080directly on server also giving same output. Following is the frps log.2025-04-12 08:47:41.410 [W] [httputil/reverseproxy.go:486] do http proxy request [host: test-http.localhost:8080] error: no route found: test-http.localhost /Using same config via frpc client works well and that can serve web file.
@github-actions[bot] commented on GitHub (May 3, 2025):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.