A
A
Alex_Buzz2019-07-29 19:33:46
RDP
Alex_Buzz, 2019-07-29 19:33:46

How to avoid unnecessary connections through RD Gateway?

Hello dear experts!
The question is:
There is an RDS farm with a configured gateway located in the data center. Between office and data center VPN. Networks are different.
In the client settings, the gateway is specified and the checkbox is set not to use the gateway server for local connections.
When I connect to the farm from the office, the connection goes through the gateway.
Judging from this:
If the client cannot connect itself, it uses the gateway. I tried disabling the use of the gateway and the client connected quietly. I used the IP of the connection broker as the computer name. So the client can connect "directly" without using a gateway...
Throw a link or tell me how not to use a gateway where it is not needed.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alex_Buzz, 2019-07-30
@Alex_Buzz

This discussion shed a lot of light on this issue . In short:
In the client registry key KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles\[PROFILE] there is a "Managed" setting, it is set if the network profile becomes domain. The client checks this parameter and if it is not equal to 1, then the connection occurs immediately through the gateway. Those. he does not even try to connect "directly".
Thus, if your client is not a member of the domain network, connect through the gateway. At the end of the discussion, they suggest setting a domain DNS suffix, but it didn't work for me.
Most likely, if there are problems with the gateway and if users complain about a long connection, I will act,I will make them 2 rdp files
Thank you all

V
Vadim, 2019-07-30
@dark_rain

This is black magic. I didn't manage to defeat her.
Create two separate labels - one without a gateway, one with a gateway and no checkmark.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question