frp设置Windows远程桌面连接
02/16
本文最后更新于
2024年02月16日,已超过
379天没有更新。如果文章内容或图片资源失效,请留言反馈,我会及时处理,谢谢!
Windowns远程桌面RDP访问
客户端frpc配置方法与以上ssh访问设置基本一致,区别在于其中localPort
需要设为3389,因为Microsoft RDP(Remote Desktop)协议是通过TCP,其默认端口是3389.
[[proxies]]
name = "rdp"
type = "tcp"
localIP = "127.0.0.1"
localPort = 3389
remotePort = 7200
为了能够在外部机器使用远程连接访问,还需要确保:
- 内部机器的远程登录权限打开
在系统->远程桌面中设置
- 以上设置的
remotePort
端口号7200在公网服务器中防火墙允许TCP访问
RDP登录
在Windows搜索框中搜索“远程桌面连接”,点击打开,
- 在“计算机”框中输入
公网服务器IP:remotePort
,这里远程端口号是7200。 - 输入内网机器账号和密码

