
- #INSTALL SOCAT CYGWIN PC#
- #INSTALL SOCAT CYGWIN WINDOWS#
Still on the client, socat utility is used to redirect locahost:81 to server_public_address:443 through proxy.On the client, stunnel intercepts port 3390 traffic and encapsulate it into HTTPS and redirect it to localhost:81.On the client, the RDP client is started with a target address of localhost:3390.The end to end connexion chain will be this one : On the client side, there's a proxy server with HTTPS proxying (if there's no proxy, there's not much reason to tunnel.).
#INSTALL SOCAT CYGWIN PC#
The client is typically a PC (or any device with RDP client and stunnel available) with which you want to access to the server PC. The traffic needs to be routed from the router to the gateway then to the server. The last component on the server network is the network router/NAT used to connect to the internet (DSL box). I use this always-on gateway for several other purposes, one being waking up the other machines on the network with wakeonlan. stunnel can be hosted directly on the server PC also (open relevant port on the firewall also). This server will run the stunnel utility. On this network, I also use a Ubuntu server as gateway. Remote connections have to be enabled in the computer properties of that machine, and the local firewall adjusted for corresponding traffic (TCP 3389). The server is the PC you want to connect to (typically your home PC).
I use it for connections to my home PC from work.
#INSTALL SOCAT CYGWIN WINDOWS#
It served the same purpose as the Microsoft RDP gateway, but without requirements for Windows Server and licences. Stunnel utility can be used to tunnel RDP connexions through HTTPS/SSL in order to pass through proxies.