mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #956] 安装说明文档配置,无法ssh到内网服务器 #760
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#760
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 @loveXMTX on GitHub (Oct 26, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/956
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)?
frp_0.21.0_linux_amd64
What operating system and processor architecture are you using (
go env)?server: centos7
client: centos7
Configures you used:
Steps to reproduce the issue:
Describe the results you received:
我不能利用服务端的端口ssh本地的客户端
为什么会连不上呢,下面是服务端的端口情况:
frps的状态信息:
2018/10/26 16:39:27 [I] [service.go:130] frps tcp listen on 0.0.0.0:7000 2018/10/26 16:39:27 [I] [root.go:207] Start frps successfrpc:
frpc get status error: admin_port shoud be set if you want to get proxy statusDescribe the results you expected:
我希望能够利用公网的端口直接ssh内网的服务器
Additional information you deem important (e.g. issue happens only occasionally):
这是第一次配置,直接就不能使用
Can you point out what caused this issue (optional)
@hallkk commented on GitHub (Oct 30, 2018):
列一下详细的日志,例如
ssh xx@remote-ip -p 10085 -v的输出@loveXMTX commented on GitHub (Oct 30, 2018):
等待很久连不上,time out了
@loveXMTX commented on GitHub (Oct 30, 2018):
服务端日志
@jamy325 commented on GitHub (Oct 30, 2018):
防火墙挡住了吧.
@loveXMTX commented on GitHub (Oct 31, 2018):
没有啊,这是我的端口使用情况:
@hallkk commented on GitHub (Oct 31, 2018):
看你的IP,应该是阿里云的服务器
确认下是不是安全规则的限制,没有开发目标端口
@loveXMTX commented on GitHub (Nov 1, 2018):
谢谢呀,还果然时端口没开放。
@BriFuture commented on GitHub (Dec 22, 2019):
给 frps 开放了所有端口

但是 ssh 无法打开

把remote_port 改成 0, 提示 no available port
是不是服务器上还要做一些配置呢
@BriFuture commented on GitHub (Dec 22, 2019):
啊是我服务器上的配置有问题,服务器上的 allow_ports 没有设置好