[GH-ISSUE #1389] Frp代理的客户端远程桌面无法连接(但是通过内网是可以访问客户端远程桌面) #1099

Closed
opened 2026-05-05 12:42:35 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @zhouyanasd on GitHub (Aug 15, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1389

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 将会直接关闭。)
(请不要在 issue 评论中出现无意义的 加1我也是 等内容,将会被直接删除。)
(由于个人精力有限,和系统环境,网络环境等相关的求助问题请转至其他论坛或社交平台。)

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)?
v0.24.1

What operating system and processor architecture are you using (go env)?
client :windows7
server :windows sever 2012

Configures you used:
server:

[common]
bind_port = 7000
dashboard_port = 7500

client:

[common]
server_addr = xx.xx.xx.xx
server_port = 7000



[tcp_ssh]
type = tcp
local_ip = 0.0.0.0
local_port = 22
use_compression = true
use_encryption = true
remote_port = 22

[jupyter]
type = tcp
local_ip = 0.0.0.0
local_port = 8887
use_compression = true
use_encryption = true
remote_port = 7006

[jupyter2]
type = tcp
local_ip = 0.0.0.0
local_port = 8889
use_compression = true
use_encryption = true
remote_port = 7005

[RDP_server_jupyter]
type = tcp 
local_ip = 127.0.0.1
local_port = 13389
remote_port = 13388

Steps to reproduce the issue:

  1. 服务器阿里云,设计划任务开机启动。
    2.客户端内网主机,设计划任务开机启动。
    3.均可联网,阿里云的dashboard显示正常。

Describe the results you received:
frp代理的客户端其他服务均正常访问,但是RDP_server_jupyter用 xx.xx.xx.xx:13388无论如何访问不到,偶尔会出现需要输入密码的情况,但是输入账号密码后仍然无法连接远程桌面。但是在内网可以通过 客户端内网ip:13389 的形式访问远程桌面。

Can you point out what caused this issue (optional)
经过了很多尝试,包括重启客户端机器,修改其他端口等方式,但是仍然没有效果。

Originally created by @zhouyanasd on GitHub (Aug 15, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1389 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 将会直接关闭。) (请不要在 issue 评论中出现无意义的 **加1**,**我也是** 等内容,将会被直接删除。) (由于个人精力有限,和系统环境,网络环境等相关的求助问题请转至其他论坛或社交平台。) 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)?** v0.24.1 **What operating system and processor architecture are you using (`go env`)?** client :windows7 server :windows sever 2012 **Configures you used:** server: ``` [common] bind_port = 7000 dashboard_port = 7500 ``` client: ``` [common] server_addr = xx.xx.xx.xx server_port = 7000 [tcp_ssh] type = tcp local_ip = 0.0.0.0 local_port = 22 use_compression = true use_encryption = true remote_port = 22 [jupyter] type = tcp local_ip = 0.0.0.0 local_port = 8887 use_compression = true use_encryption = true remote_port = 7006 [jupyter2] type = tcp local_ip = 0.0.0.0 local_port = 8889 use_compression = true use_encryption = true remote_port = 7005 [RDP_server_jupyter] type = tcp local_ip = 127.0.0.1 local_port = 13389 remote_port = 13388 ``` **Steps to reproduce the issue:** 1. 服务器阿里云,设计划任务开机启动。 2.客户端内网主机,设计划任务开机启动。 3.均可联网,阿里云的dashboard显示正常。 **Describe the results you received:** frp代理的客户端其他服务均正常访问,但是RDP_server_jupyter用 xx.xx.xx.xx:13388无论如何访问不到,偶尔会出现需要输入密码的情况,但是输入账号密码后仍然无法连接远程桌面。但是在内网可以通过 客户端内网ip:13389 的形式访问远程桌面。 **Can you point out what caused this issue (optional)** 经过了很多尝试,包括重启客户端机器,修改其他端口等方式,但是仍然没有效果。
Author
Owner

@zhouyanasd commented on GitHub (Aug 16, 2019):

最后经过尝试,通过frp的远程桌面一直卡在“正在加密远程桌面”,并且通过telnet xx.xx.xx.xx 13388 可以看到端口是可以联通的。那么我通过改变组策略的方式绕过验证后可以联通,但是不是为什么frp无法通过验证。
临时解决方式,参考 https://bbs.aliyun.com/read/269680.html

    问题:远程桌面 一直卡在”正在加密远程连接“  
    解决办法: 
    1,先查看防火墙是否打开,是否去掉“仅允许运行使用网络级别身份验证的远程计算机…” 
    2,如果还是不行的话。便需要开启组策略中远程桌面链接安全层: 
    (1)开始-运行-gpedit.msc,进入组策略编辑器。 
    (2)在左侧边栏中展开,计算机配置-管理模板-Windows组件-远程桌面服务-远程桌面会话主机-安全,修改以下两项。 
              * 第一,远程(RDP)连接要求使用指定的安全层,改为启用,安全层选择RDP。 
              * 第二,要求使用网络级别的身份验证对远程连接的用户进行身份验证,改为禁用。 
    (3)关闭组策略编辑器,重启即可。
<!-- gh-comment-id:521874347 --> @zhouyanasd commented on GitHub (Aug 16, 2019): 最后经过尝试,通过frp的远程桌面一直卡在“正在加密远程桌面”,并且通过`telnet xx.xx.xx.xx 13388` 可以看到端口是可以联通的。那么我通过改变组策略的方式绕过验证后可以联通,但是不是为什么frp无法通过验证。 临时解决方式,参考 https://bbs.aliyun.com/read/269680.html > 问题:远程桌面 一直卡在”正在加密远程连接“ 解决办法: 1,先查看防火墙是否打开,是否去掉“仅允许运行使用网络级别身份验证的远程计算机…” 2,如果还是不行的话。便需要开启组策略中远程桌面链接安全层: (1)开始-运行-gpedit.msc,进入组策略编辑器。 (2)在左侧边栏中展开,计算机配置-管理模板-Windows组件-远程桌面服务-远程桌面会话主机-安全,修改以下两项。 * 第一,远程(RDP)连接要求使用指定的安全层,改为启用,安全层选择RDP。 * 第二,要求使用网络级别的身份验证对远程连接的用户进行身份验证,改为禁用。 (3)关闭组策略编辑器,重启即可。
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#1099
No description provided.