M
M
MikhailCH2020-11-10 08:11:38
Mikrotik
MikhailCH, 2020-11-10 08:11:38

How to redirect requests to rdp with different entry points?

Hello. There is mikrotik with 2 providers.

There are two dns names. (Both names refer to active IP via no-ip DUC)
rdp.domainname.ru
rds.domainname.ru
There are two rdp servers.
How to set up Mikrotik to catch by the connection name and redirect to the desired IP.

For example, what would redirect to 192.0.0.1:3389 by name rdp.domainname.ru
and to 192.0.0.2:3389 with rds.domainname.ru
without using other ports.
How to analyze traffic and mark it, and then redirect it by marking.
How to catch him?

Or is there another way? some kind of example to make a "proxy" that will already redirect traffic depending on the name of the connection. like a web server.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
RStarun, 2020-11-10
@MikhailCH

This is done at the RDP gateway level. On which you also need to log in. The name of the gateway will be the same, the names of the internal servers are different. Perhaps a standard solution will work for you.
On the other hand, if you use a gateway (and it is on port 443), then you can probably use a firewall proxy to view traffic (url'a). And now the proxy, based on the url, can and will be able to direct traffic to the desired gateway server. I remember ISA was able to do something similar when publishing. What's going on now, I don't know.

R
Rsa97, 2020-11-10
@Rsa97

Certainly not on Mikrotik. In RDP, the connection goes by IP:port, without specifying the server name. This means that inside the connection packages by both names will be exactly the same.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question