mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3834] 腾讯云服务器是否支持 #3048
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#3048
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 @BearIsHeavy on GitHub (Dec 7, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3834
Describe the feature request
当使用腾讯云服务器时,能够成功有效的使用ssh,但是不能暴露本地的web服务。也不支持访问admin的页面.
frps配置
`bindAddr = "0.0.0.0"
bindPort = 7001
vhostHTTPPort = 7003
tcpmuxHTTPConnectPort = 7002
webServer.addr = "0.0.0.0"
webServer.port = 7500
webServer.user = "admin"
webServer.password = "password"
webServer.pprofEnable = false
enablePrometheus = true
console or real logFile path like ./frps.log
#log.to = "./frps.log"
trace, debug, info, warn, error
#log.level = "info"
#log.maxDays = 3
disable log colors when log.to is console, default is false
#log.disablePrintColor = false
detailedErrorsToClient = true
auth.method = "token"
auth.token = "token"
`
frpc的配置
`serverAddr = "xx.xx.xx.xx"
serverPort = 7001
#loginFailExit = true
console or real logFile path like ./frpc.log
#log.to = "./frpc.log"
trace, debug, info, warn, error
#log.level = "info"
#log.maxDays = 3
disable log colors when log.to is console, default is false
#log.disablePrintColor = false
auth.method="token"
auth.token="token"
transport.protocol = "tcp"
transport.connectServerLocalIp = "0.0.0.0"
proxies
name = "ssh"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 6000
proxies
name = "web"
type = "tcp"
localPort = 9487
customDomains = ["xx.xx.xx.xx"]
`
我的customDomains设置的时public ip因为我没有domain。
Describe alternatives you've considered
但是当我使用虚拟机进行操作的时候,就可以成功访问admin页面,但是把相同的配置放置在腾讯云服务器上就不可以。我查看了一下防火墙,使用nmap进行了扫描,显示7500端口时open的,但是浏览器无法访问,并且利用curl命令进行访问也是不能成功的。
Affected area
@BearIsHeavy commented on GitHub (Dec 7, 2023):
浏览器url我直接输入的时Public_ip:7500不知道是不是我输入的方式不对
@BearIsHeavy commented on GitHub (Dec 8, 2023):
解决了忘记关闭proxy了,能够连接admin网页了,但是export web server还是不行[W] [http.go:119] do http proxy request [host: xx.xx.xx.xx:7003] error: no route found: xx.xx.xx.xx /favicon.ico
@xqzr commented on GitHub (Dec 8, 2023):
@BearIsHeavy commented on GitHub (Dec 8, 2023):
是的改好就可以了,呜呜,一直没看见。感谢大佬