ArticlesHow-to
Remote desktop port forwarding, and how to do without it
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:
- The PC’s address on your home network.
- Your public IP address, which your internet provider can change at any time, so Microsoft suggests a Dynamic DNS name.
- The port, usually 3389, Remote Desktop’s default.
- Administrator access to your router, whose maker’s instructions cover the setting.
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:
- Give every account that can connect a strong, unique password.
- Keep Network Level Authentication on, so people must sign in before a session starts, as Microsoft’s guide recommends.
- Where your router allows it, accept the forwarded port only from addresses you connect from, such as your office’s.
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:
- Sessions go through Naytto’s private relay by default. The screen, typing, clipboard, files and sound are encrypted between your browser and your computer, and the relay passes them along without being able to read them. It does see both sides’ network addresses, which it needs to pass anything along.
- Direct connections happen only if the computer’s owner allows them, and you ask for one before connecting.
- You sign in with an email code, a passkey or an authenticator. Adding a computer needs a passkey or an authenticator, and approval at the computer itself.
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 matters | Port forwarding | VPN | Private network service | Relay tool such as Naytto |
|---|---|---|---|---|
| PC open to the internet | Yes, on port 3389 | No | No | No |
| On the device you use | A Remote Desktop app | VPN app and Remote Desktop app | Its app and a Remote Desktop app | A browser |
| Port to forward | Yes | Depends on the VPN | No | No |
| Reaches | One PC | Your whole network | Your devices on it | Computers running its app |
When Naytto isn’t the right choice
- You need more than a desktop, such as file shares or a printer at home. A VPN or a private network service reaches those.
- You’d rather no outside service sat in the path. Naytto is hosted, and its account and browser software come from that service, so it can’t protect you from a compromised one.
- Your computer isn’t one it supports, such as an Intel Mac or a Linux distribution other than Ubuntu.
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.