ArticlesHow-to

Remote desktop port forwarding, and how to do without it

Published

To reach a computer from outside your network, you don’t have to forward a port. Microsoft itself advises against exposing Remote Desktop to the internet and prefers a VPN. Here is what port forwarding does, why it’s risky, and three routes that keep Remote Desktop off the public internet: a VPN, a private network service, or a tool that connects through a relay.

What remote desktop port forwarding is

Windows’ Remote Desktop app connects straight to the PC, so it needs a way in. Port forwarding gives it one: your router sends traffic arriving at your public IP address on one port to one computer inside your network. Microsoft’s page on outside access lists what you need:

Once mapped, you connect to your router’s public address from anywhere, and the router passes you on to the PC.

Why Microsoft advises against it

The same Microsoft page warns, in its words: “You’re opening your PC up to the internet, which isn’t recommended. If you must, make sure you have a strong password set for your PC. It’s preferable to use a VPN.” Its network security guide for Azure is blunter about open Remote Desktop ports: “Attackers continuously scan the internet for open admin ports.” It points to a VPN or Azure’s own access services instead.

If you forward the port anyway, Microsoft’s own suggestions narrow the risk:

Safer route 1: a VPN into your home network

With a VPN, Microsoft explains, your Remote Desktop app behaves as if it were on the same network as the PC, so the PC isn’t opened to the public internet. Microsoft leaves the choice of VPN to you. Whichever you pick, you need its app on each device you connect from, and some VPNs need a setting on your router too. It reaches everything on that network, not just one desktop.

Safer route 2: a private network service

Services such as Tailscale join your devices into one private network across the internet; Tailscale’s Remote Desktop guide says you need no port forwarding or public IP address. You install its app on the PC and on every device you connect from, then use Remote Desktop to the PC’s private address. Tailscale connects devices directly when it can and otherwise through relays that can’t decrypt your traffic, by its own account. Tailscale remote desktop walks through it.

Safer route 3: a tool that connects through a relay

Some remote desktop tools don’t accept incoming connections at all. The computer you reach and the device you use both connect to the tool’s service, which links them, so no port is opened and nothing changes on your router.

Naytto works this way. Its security page explains how:

Nothing is installed on the device you connect from: any current browser works. Naytto reaches a Mac with Apple silicon, Ubuntu 24.04 with GNOME or KDE on Wayland or 26.04 with GNOME, and Windows 10 or 11 on x64, where it is an early release.

The four routes compared

What mattersPort forwardingVPNPrivate network serviceRelay tool such as Naytto
PC open to the internetYes, on port 3389NoNoNo
On the device you useA Remote Desktop appVPN app and Remote Desktop appIts app and a Remote Desktop appA browser
Port to forwardYesDepends on the VPNNoNo
ReachesOne PCYour whole networkYour devices on itComputers running its app

When Naytto isn’t the right choice

Starting from a Mac? Read remote desktop to Windows from a Mac. Plans are on pricing.

Reach your computer from a browser

Naytto is free for 1 computer, with no card needed. Install it on the computer you want to reach, then connect from any browser.