post: remmina-rdp-over-socks5
All checks were successful
Build and Upload / Explore-Gitea-Actions (push) Successful in 7m0s
All checks were successful
Build and Upload / Explore-Gitea-Actions (push) Successful in 7m0s
This commit is contained in:
parent
17ecec0372
commit
1191dc088b
60
content/post/rdp-over-socks5/index.md
Normal file
60
content/post/rdp-over-socks5/index.md
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
---
|
||||||
|
title: Remmina 基于 socks5 代理进行 RDP连接
|
||||||
|
description: linux RDP over Socks5
|
||||||
|
date: 2025-05-20
|
||||||
|
slug: remmina-rdp-over-socks5
|
||||||
|
image: remmina3d_480p.png
|
||||||
|
keywords:
|
||||||
|
- RDP
|
||||||
|
- SOCKS5
|
||||||
|
- Linux
|
||||||
|
- Remmina
|
||||||
|
categories:
|
||||||
|
- Linux
|
||||||
|
tags:
|
||||||
|
- linux
|
||||||
|
- rdp
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
# Remmina 基于 socks5 代理进行 RDP连接
|
||||||
|
|
||||||
|
## 一、Remmina
|
||||||
|
|
||||||
|
Remmina 是一个Linux下的图形化远程链接管理工具,**十分好用!!**
|
||||||
|
|
||||||
|
它默认情况下支持 SSH、VNC、RDP 的远程链接方式。
|
||||||
|
|
||||||
|
## 二、需求
|
||||||
|
|
||||||
|
我需要使用 socks5 协议,通过跳板机访问指定的RDP服务器,远程使用其桌面环境。
|
||||||
|
|
||||||
|
但是 Remmina 在界面上,无法设定 socks5 代理模式。
|
||||||
|
|
||||||
|
## 三、修改配置文件
|
||||||
|
|
||||||
|
Remmina 会对每个连接产生一个配置文件,其路径在 `~/.local/share/remmina/` 下,配置文件名称会包含界面上显示的“连接名称”。
|
||||||
|
|
||||||
|
我们可以通过修改配置文件,实现 `RDP over Socks5`。操作如下:
|
||||||
|
|
||||||
|
打开你已经设定好的连接的配置文件,假设名称是 `group_rdp_remote_xxx-xxx-xxx-xxx.remmina`,则我们编辑它:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
vim ~/.local/share/remmina/group_rdp_remote_xxx-xxx-xxx-xxx.remmina
|
||||||
|
```
|
||||||
|
|
||||||
|
在其中加入proxy配置:
|
||||||
|
|
||||||
|
```
|
||||||
|
proxy_hostname=127.0.0.1
|
||||||
|
proxy_type=socks5
|
||||||
|
proxy_port=7890
|
||||||
|
```
|
||||||
|
|
||||||
|
需要注意的是,`proxy_hostname` 应该填写IP地址,否则 RDP 连接会报安全问题。
|
||||||
|
|
||||||
|
|
||||||
|
添加完成后,保存。从Remmina界面连接即可。
|
||||||
|
|
||||||
|
|
||||||
|
|
BIN
content/post/rdp-over-socks5/remmina3d_480p.png
Normal file
BIN
content/post/rdp-over-socks5/remmina3d_480p.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 119 KiB |
Loading…
x
Reference in New Issue
Block a user