A
A
Andrey Golubkov2017-02-22 15:26:10
Windows
Andrey Golubkov, 2017-02-22 15:26:10

How to balance the RDP protocol between virtual machines?

The bottom line is this, there are 3 virtual machines on the network, they have access via the remote desktop protocol.
Let's say their IP:
1.1.1.2
1.1.1.3
1.1.1.4
There is a main server with IP 1.1.1.1
I want to do this:
The user connects via remote desktop to Ip 1.1.1.1
The server selects a virtual machine according to a certain rule
AND throws the user there.
For example, we connect to 1.1.1.1 and get to 1.1.1.3, the next one gets to 1.1.1.2
How can this be implemented?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir Dubrovin, 2017-02-23
@Android97

If it is not required that the same users get to the same virtual machine, then balancing at the TCP connection level is quite enough for RDP. For example, in 3proxy
auth iponly
allow *
parent 333 tcp 1.1.1.2 3389
parent 333 tcp 1.1.1.3 3389
parent 334 tcp 1.1.1.4 3389
tcppm -i1.1.1.1 3389 2.2.2.2 3389
will scatter connections coming to 1.1.1 . :3389 on 3 hosts with probability 1/3 (port 3389 on 1.1.1.1 must be free, if not free you can use any alternative port in tcppm).

D
Dmitry, 2017-02-22
@Tabletko

You need an rdsh farm and a remote desktop gateway

D
Dmitry Shitskov, 2017-02-22
@Zarom

Broker alternative:
www.loadbalancer.org/blog/load-balancing-windows-t...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question