Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

With “Bypass RD Gateway server for local addresses” selected, Remote Desktop Connection uses a direct-connect detection mode: it tries to connect to the Remote Desktop Session Host directly and uses the configured RD Gateway if that direct connection cannot be made. “Local” is therefore not documented as a simple test for whether an address falls within a private IP range.

What the checkbox changes

The setting controls how the client uses an RD Gateway. Microsoft’s GatewayUsageMethod documentation maps the checkbox to TSC_PROXY_MODE_DETECT, which means: “Use an RD Gateway server if a direct connection cannot be made to the RD Session Host server.” Microsoft’s deployment command describes Set-RDDeploymentGatewayConfiguration -BypassLocal $True as bypassing the gateway for local connections (Microsoft documentation).

Microsoft support documentation describes the checkbox in terms of traffic to and from local network addresses not being routed through the gateway (Microsoft support). The API description clarifies the operational test: direct connection first, gateway if direct connection cannot be made. The public documentation does not define a universal private-subnet rule for deciding what counts as local.

How the client determines whether direct connection works

  1. It resolves the destination name. The address the client attempts to reach depends on DNS in the current network context. The RDP protocol specification says that the RD Gateway resolves the name to an IP address using DNS (MS-RDSOD specification).
  2. It attempts the direct path to the Session Host. If that path can be established, the client can bypass the gateway for the connection.
  3. If direct connection cannot be made, it uses the configured gateway. This is the documented detect-mode behavior; it does not mean that a private IP address is guaranteed to connect directly.

DNS answers, routing, VPN configuration, firewalls, access-control lists, NAT, and whether TCP port 3389 is reachable can all affect the direct attempt. A hostname may resolve to different addresses on a corporate network and away from it, so the same saved RDP destination can take different paths in different network contexts.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Easytone Backlit Mini Wireless Keyboard with Touchpad Mouse Combo Remote Control with Rechargeable Li-ion Battery and Multimedia Keys for Android TV Box HTPC PS3 Smart TV PC X-Box Linux Windows MacOS
  • 【Easy to Connect & Use】The mini wireles keyboard remote is connected via USB receiver(included) and the work distance up to 10 meters. Just plug and play. very easy to connect and use. Powerful function (keyboard + touchpad + mouse) very perfect for browsing the web, playing games or watching TV.
  • 【Widely Compatibility】The mini keyboard with touchpad can be used for Android TV box, smart TV, PC, Pad, Raspberry PI, PS3, x-box, desktop, laptop, smart phone,HTPC/IPTV, etc. If there is not a USB port, you need to prepare a OTG cable.
  • 【Mutil-Colors Backlit and Rechargeable Battery】The USB mini keyboard has mutil-colors of backlit mode which can clear operate the keys when work at night, don't need to turn on the light which disturbing your families. With auto sleep and wake-up function, and comes with a rechargeable Li-ion battery, it can work for a long time.
  • 【Portable Keyboard】 This small keyboard is designed Small and handheld design, has a innovative shape and petite size, takes up very minimal space in you bag and just makes you say goodbye to chunky keyboard to horizon a new experience of office entertainment anywhere, anytime.
  • 【Sensitive Touchpad & Hotkeys】Wireless mini keyboard with multi-finger touchpad and combo with 8 hotkeys can easy and accurate manipulation. Easy to type and copy / paste, making it faster and more convenient for you browse the page.

Why “local” does not simply mean a private IP address

A private address can still require an RD Gateway when the client cannot reach the Session Host directly or policy requires gateway use. Conversely, the documented behavior is based on whether a direct connection can be made, not on a published universal list of local subnets. Microsoft does not specify the exact probe order, timeout, or any additional hidden heuristic for every Remote Desktop Connection build, so those details should not be assumed.

Best Value
Sale
Fosmon Mini Keyboard with Touchpad Mouse, 2.4G Wireless+ Bluetooth, Backlit
  • Compact and Portable QWERTY Keyboard with Touchpad: Innovative and compact QWERTY keyboard with touchpad that provides comfort combined with the freedom of wireless connectivity. Connect to all of your favorite devices with this wireless keyboard. This controller gives you everything you need right in the palm of your hand. Navigate the cursor easily with your thumb without having to touch your screen, mouse or keyboard
  • 2.4ghz and 5.2 Bluetooth Compatibility: This keyboard connects to a multitude of devices through 5.2 Bluetooth and a 2.4ghz nano USB dongle such as for: Apple TV, Amazon Fire Stick, Google TV, Playstation PS4/PS4 Pro/PS5, HTPC/IPTV, VR Glasses (Virtual Reality Headset Box) smartphones (iOS/Android/Windows), notebooks, laptops (Windows/Mac OS X v10.7 Lion and above) and more. With a working range of approx. 33ft/10m, easily connect and control Bluetooth devices with this wireless keyboard. (Not Compatible with Xbox series).
  • Long-Lasting Rechargeable Battery: Built-in rechargeable lithium-ion battery with up to 10 days of continuous working time and up to 50 days of standby time. The LED indicators notify when the battery is low and when it is fully charged. Charging via the included USB-C cable is simple and easy
  • Backlit Keyboard: The convenient backlit keyboard is perfect for using in a dark environment
  • Limited Lifetime Warranty: We cannot guarantee compatibility with all smart T.V.s. Please check the Bluetooth capability of your T.V. before purchase
Rank #4
Sale
Arteck 2.4G USB Wireless Keyboard Full Size Keyboard for Computer/PC/Laptop
  • Easy Setup: Simply insert the nano USB receiver into your computer and use the keyboard instantly. Arteck 2.4G Wireless Keyboard Stainless Steel Ultra Slim Full Size Keyboard with Numeric Keypad for Computer/Desktop/PC/Laptop/Surface/Smart TV and Windows 10/8/ 7 Built in Rechargeable Battery
  • Ergonomic design: Stainless steel material gives heavy duty feeling, low-profile keys offer quiet and comfortable typing.
  • 6-Month Battery Life: Rechargeable lithium battery with an industry-high capacity lasts for 6 months with single charge (based on 2 hours non-stop use per day).
  • Ultra Thin and Light: Compact size (16.9 X 4.9 X 0.6in) and light weight (14.9oz) but provides full size keys, arrow keys, number pad, shortcuts for comfortable typing.
  • Package contents: Arteck Stainless 2.4G Wireless Keyboard, nano USB receiver, USB charging cable, welcome guide, our 24-month warranty and friendly customer service.
Rank #3
Rii BT/2.4G Mini Keyboard with Touchpad, Backlit, Rechargeable for Android TV, PC, Smart TV
  • 【Bluetooth & 2.4Ghz RF Connection】Support bluetooth 4.0, which makes the connection faster and more stable. Built-in Bluetooth (No Bluetooth Dongle) and a 2.4Ghz USB dongle, you can pair and connect Bluetooth devices and USB devices, operating distance can reach 33ft/10M.
  • 【Touchpad and Hotkeys】Mini keyboard wireless with responsive touchpad supports multi-finger gestures for a precise control. Support rich hotkeys for quick control of many pages.
  • 【Backlit Mini Keyboard】 Backlight keyboard allows you to operate the multimedia keyboard clearly in the dark.
  • 【Rechargeable Handheld Keyboard Remote】 Built-in a rechargeable Li-ion battery. With the auto-sleep function, it can work for a long time.
  • 【Widely Compatibility】Mini bluetooth keyboard & 2.4Ghz wireless keyboard for Amazon Fire TV Stick 4K/ Lite/Cube, Android TV Box, Smart TV, Raspberry pi, Xbox 360, PS3, HTPC, IPTV, Pad, PC
Rank #2
(Backlit Version)REIIE H9+ Mini Keyboard,2.4GHz Wireless Mini Handheld Smart TV Remote Keyboard with Touchpad for PC,Raspberry Pi 2, Pad, Smart TV, Android TV Box, Windows 7 8 10(Not Suport Bluetooth)
  • 【Before Purchasing】The keyboard uses 2.4G connection technology.Please make sure your device has an available USB port to insert the receiver.If not, the keyboard is not suitable for your device
  • 【Be sure to recharge the batteries for 1 hour before use】For the safety of transportation, the battery is nearly empty when you receive the device. When the battery is low, 2.4G cannot be paired or the connection is unstable
  • 【Perfect combo】73 keys Wireless QWERTY keyboard + Touchpad,Key layout in line with the universal keyboard layout, fully functional, plug and play,White soft backlight design, use in the dark also unimpeded
  • 【Multi-finger touchpad】a single finger click as left mouse function, two-finger click as the right mouse function, double finger drag as the rolling, bringing more convenience to your use
  • 【Multifunctional mini wireless keyboard】3 in 1 Multifunction 2. 4GHz Mini Wireless QWERTY keyboard+ touchpad + LED Backlit(Fn+Win)
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How to troubleshoot an unexpected gateway connection

  1. Check name resolution. Determine which IP address the destination hostname resolves to on the affected network. Compare the result on VPN and off VPN if behavior differs.
  2. Test direct TCP reachability. In PowerShell, run Test-NetConnection -ComputerName <host> -Port 3389 -InformationLevel Detailed. Microsoft recommends this test for checking direct RDP reachability (Microsoft troubleshooting guidance).
  3. Interpret the result. A successful TCP test indicates that a direct connection is reachable at the tested address and port. If the hostname test fails but a test to the intended IP succeeds, investigate name resolution.
  4. Review the network path and policy. Check VPN routes, firewall rules, ACLs, NAT, and any policy that may require use of the RD Gateway.
  5. Compare with bypass disabled. If direct access is unavailable or gateway use is required by configuration, disable the bypass option and confirm whether the connection works through the gateway.

Direct RDP and RD Gateway: practical differences

Factor Direct connection Connection through RD Gateway
Network reachability The client must be able to reach the Session Host directly. The client connects through the configured gateway when direct connection cannot be made in detect mode.
TCP 3389 exposure The direct route must permit TCP 3389 from the client network. The gateway provides the alternate route; its configuration and reachability matter.
Authentication and policy Gateway-specific authentication and policy are not on the direct path. Gateway authentication and policy requirements apply.
Latency Depends on the direct network route. Depends on the route through the gateway; no universal latency difference is established.
DNS The client’s resolved destination must lead to a reachable Session Host address. The gateway resolves the destination name to an IP address, according to the MS-RDSOD specification.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.