通过 TCP 代理的 RDP [英] RDP through TCP Proxy

查看:75
本文介绍了通过 TCP 代理的 RDP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

第一次使用 Stackoverflow,希望有人能帮助我.

First time in Stackoverflow and I'm hoping someone can help me.

我正在研究通过 TCP 代理/隧道传递 RDP 流量的概念证明,该代理/隧道将使用 HTTPS 穿过防火墙.

I'm looking at a proof of concept to pass RDP traffic through a TCP Proxy/tunnel which will pass through firewalls using HTTPS.

问题与将映像部署到机器有关,因此不能假设 .NET 框架会存在,因此在连接的部署端使用 C++.

The problem has to do with deploying images to machines and so it can't be assumed that the .NET framework will be present, so C++ is being used at the deployment end of a connection.

我目前拥有的基本系统是一个程序,它侦听端口上的客户端连接,然后将任何数据传递给 WCF 服务,该服务将其存储为字节数组.部署机器(使用 GSoap 和 C++)轮询 WCF 服务以获取消息,如果找到消息,则通过套接字将数据传递到目标服务器进程.我知道这听起来很可怕,但它适用于简单的测试客户端和服务器,通过这个 WCF/C++/C# 代理层将数据传入和传出简单的测试客户端和服务器程序.

The basic system I have at present is a program which listens for client connections on a port then passes any data to a WCF service which stores it as a byte array. A deployment machine (using GSoap and C++) polls the WCF service for messages and if it finds them then passes the data onto the target server process via sockets. I know this sounds horrible, but it works for simple test clients and server passing data to and from simple test client and server programs via this WCF/C++/C# proxy layer.

但我必须支持来自 RDP、VNC 和其他可能的流量,所以我需要一个透明代理来做到这一点,我想知道上述方法是否值得追求.我已经阅读了 SSH 隧道,这似乎是一种可能性.我的基本问题是是否可以使用自定义代码通过 HTTPS 隧道传输 RDP 流量.

But I have to support traffic from RDP, VNC and possibly others, so I need a transparent proxy to do this and am wondering whether the above approach is worth pursuing. I've read up on SSH tunneling and that seems a possibility. My basic question is is it possible to tunnel RDP traffic over HTTPS using custom code.

谢谢约翰

推荐答案

端口桥

该项目允许多个 NAT 的服务器通过单个服务总线连接访问互联网上的多个 NAT 的客户端.

This project allows several NAT'ed servers to access several NAT'ed clients across the internet over a single service bus connection.

这是一个非常聪明的实现,真的会让你思考.以下是源码

It's a pretty smart implementation that will really get you thinking. Below is the source

http://blogs.msdn.com/b/clemensv/archive/2009/11/18/port-bridge.aspx

...以及相同的另一种解释.

... and another explanation of the same.

http://brentdacodemonkey.wordpress.com/2010/05/05/azure-appfabric-%e2%80%93-a-bridge-going-anywhere/

另外,codeplex上还有一个相关的项目叫做SocketShifter":http://socketshifter.codeplex.com/ 尽管 codeplex 站点建议使用 portbridge,但我确实看到了最近的签入(2010 年 8 月),但不确定哪个是最新的.可能值得研究.

Also, there is a related project called "SocketShifter" on codeplex: http://socketshifter.codeplex.com/ Although the codeplex site advises using portbridge, I do see recent check ins (Aug 2010) and not sure which one is more up-to-date. It may be worth investigating.

这篇关于通过 TCP 代理的 RDP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆