M
M
maykelpiron2019-08-06 22:42:37
Computer networks
maykelpiron, 2019-08-06 22:42:37

How to connect to a VDS server via RDP from a closed corporate network?

I want to connect to a VDS that is outside the corporate network where my machine is located.
I can’t connect in the usual way, as I understand it, you need to change the RDP port on VDS to the one that is open on the gateway. Can you please tell me how to set up the connection?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
E
Eugene, 2019-08-07
@maykelpiron

1. For RDP access from corporate networks, I recommend changing the connection port from 3389 to 80/8080/443, or any other popular port that is often open to the outside. You can first check whether this port is open to the outside with the Telnet command. After that, check if the connection works.
2. RDP connection cannot go through proxy servers with authorization, it is deployed in almost every normal company, maybe you do too. In this case, there are 2 exits.
The first option is to raise a local proxy on the PC that will wrap traffic from RDP into itself without authorization, and then send it to the proxy server, this option should work, such programs are called proxifiers.
The second option is to set up a tunnel on the PC, for example, run a SSH server on the VDS, connect the tunnel connection to one of the popular ports 80/8080/443, etc., then connect to this tunnel via Putty on a working PC and forward any local port to a remote port RDP connections and connect to the address for example 127.0.0.1:111 (111 - you can replace it with any local port that you forward, the main thing is that it is not used by something important). The advantage of this method is that local administrator rights are not required. Also, do not forget to make the proxy server settings in Putty on your working PC.
If the proxy server is configured to detect and block not only connections and ports, but also protocols, then I find it difficult to say how else you can connect.

C
CityCat4, 2019-08-07
@CityCat4

Ask the administrator if it is possible to do this. Because if the network is closed, then there are reasons for that, I guess. If possible, ask which port can be used.

P
poisons, 2019-08-07
@poisons

Comrade Evgeny gave a very good and detailed answer. But I wanted to add that if the task is simply to work with a remote desktop, but not necessarily through RDP, then noVNC can be used for these purposes . The link has a fairly detailed instruction, the port can be changed to 443, instead of 5901. There will be a desktop directly in the browser. At the same time, for any means of control, this will be valid https traffic.
How much this solves the problem, I think, is known only to the author of the question, because. RDP provides more options, such as sound redirection, device forwarding, but if you need to get only a picture, bypassing corporate protections, then there is no better solution yet.
P.S. guacamole is mentioned in the commentsbut I have never tried it. In principle, judging by the description, not a bad solution.

D
Dim Boy, 2019-08-06
@twix007

Nothing specific is mentioned! Well, try as you wrote, does it work or not ?!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question