How to Access Your Mac Over the Internet (Safely)
Want to reach your Mac's desktop from anywhere? Here's how to set up remote desktop on your Mac, and how to reach it safely over the internet with WireGuard, OpenVPN, Tailscale, or your router's VPN, without opening it up to attackers.
Once you get VNC or RDP up and running, getting to your Mac’s desktop from another room is easy. Getting to it from a coffee shop, a hotel, or the office is where it gets tricky, and where a lot of guides online point you towards something genuinely risky.
Apple used to have an answer for this called Back to My Mac, but it was retired in macOS Mojave, and nothing built in has replaced it. So this guide walks through doing it yourself, in two parts:
- Turn on remote desktop on your Mac, so another computer can see and control it.
- Set up a safe way to reach it from outside your home network, without exposing it to the whole internet.
Step 1: Turn on remote desktop on your Mac
Before you worry about the internet, your Mac needs to accept remote desktop connections at all. There are two main protocols for this on a Mac: VNC and RDP.
Option A: Mac Screen Sharing (VNC)
macOS includes Screen Sharing, which you can turn on under System Settings › General › Sharing. It’s built on VNC, and Apple’s Screen Sharing app on other Macs, plus third-party VNC clients on other platforms, can connect to it.

It’s free and built in, but VNC has real limits. It sends changed rectangles of pixels instead of hardware-encoded video, so anything that moves lags and stutters. That gets noticeably worse over the internet, where latency is higher and bandwidth is lower than on your home network. The resolution is also fixed to the Mac’s own screen, and there’s no audio.
Option B: RDP with ProRDP (recommended)
RDP, the Remote Desktop Protocol, is what Windows uses for Remote Desktop, and it was designed from day one to work over slower, longer-distance links. Modern RDP streams the screen as H.264 video encoded by your Mac’s video hardware, adapts to the network as it goes, and carries audio, the clipboard, and files over the same connection.
macOS doesn’t include an RDP server, so I built ProRDP to add one. Any standard RDP client can then connect to your Mac: Remote Desktop Connection built into Windows, Microsoft’s free Windows App on Mac, Windows, iPhone, iPad, and Android, or FreeRDP on Linux.
Here’s the same window being dragged over RDP with ProRDP:
Setting it up takes a few minutes:
- Download ProRDP, open the DMG, and drag it to Applications.
- Open ProRDP and grant the Screen Recording and Accessibility permissions it asks for, then quit and reopen it.
- In the Account pane, set the username and password your RDP client will sign in with.
- In the General pane, click Start, and leave Keep this Mac awake set to Always. A sleeping Mac can’t be reached over the internet any more than it can at home.

Before going any further, make sure you can connect from another device on your home network. If that doesn’t work, adding the internet won’t fix it. The full walkthrough is in How to RDP into a Mac.
Should you open RDP or VNC to the internet?
No. Absolutely do not do this. There are a lot of guides out there that will tell you to set up port forwarding on your router, sending port 3389 (RDP) or 5900 (VNC) from the internet straight to your Mac. It’s the single riskiest way to access your Mac, for any remote desktop software on any operating system.
Here’s why:
- You’ll be found within minutes. Automated scanners sweep the entire internet for open RDP and VNC ports around the clock. An open port isn’t hidden just because nobody knows your IP address.
- Your password becomes the only thing standing in the way. Once found, your Mac will face a steady stream of password-guessing attempts from bots all over the world, every day, forever.
- Any bug becomes an open door. Remote desktop servers are a favorite target for attackers. Windows’ own RDP server has had serious vulnerabilities over the years, like BlueKeep, that let attackers in without any password at all. Every machine with RDP open to the internet was exposed until it was patched.
- Changing the port doesn’t help much. Moving RDP to a non-standard port cuts down on some noise, but scanners check every port, and an RDP server is easy to recognize wherever it’s listening.
ProRDP requires a password and Network Level Authentication by default, and encrypts every session with TLS. But that’s defense in depth, not a reason to put it on the open internet. Remote desktop should only ever be reachable from inside a network you trust.
The answer is a VPN. A VPN puts the device you’re connecting from inside your home network, securely, from wherever you are. Your Mac stays invisible to the rest of the internet, and only devices you’ve set up can even attempt to connect.
Step 2: Set up a safe way to reach your Mac
There are three good ways to do this. They all end in the same place: your laptop or phone acts as if it’s on your home network, and you connect to your Mac just like you would from the couch.
This is an overview of each option. For full step-by-step setup instructions, see Connecting remotely in the ProRDP docs.
Option 1: WireGuard or OpenVPN on your router
The classic approach is to run a VPN server on your home router, and connect to it with a VPN app on the device you’re traveling with.
- WireGuard is the modern choice. It’s fast, simple to configure, and has apps for macOS, Windows, Linux, iOS, and Android. It also stays silent to anyone without a valid key, so scanners can’t even tell it’s there.
- OpenVPN is older and a bit slower, but it’s been around for a long time and is supported almost everywhere, including on older routers that don’t offer WireGuard yet.
Many routers have one or both built in, including models from ASUS, GL.iNet, Firewalla, and UniFi, as well as firewall software like pfSense and OPNsense. If yours does, you’ll typically turn on the VPN server in the router’s settings, create a profile for each device, and import it into the WireGuard or OpenVPN app. Once connected, you reach your Mac at the same local address you’d use at home.
Good for: people who are comfortable in their router’s settings and want everything self-hosted, with no third-party service involved.
Keep in mind: your router needs to be reachable from the internet, so this usually means forwarding a single VPN port (not your remote desktop port) and having a public IP address. Some internet providers, especially mobile and satellite ones, don’t give you one. If your home IP address changes, you’ll also want dynamic DNS so your VPN app can always find your router.
Option 2: Tailscale
Tailscale is the easiest option for most people. It’s a mesh VPN built on WireGuard, and it needs no router changes and no port forwarding at all.
- Install Tailscale on your Mac and sign in.
- Install Tailscale on the device you’ll connect from and sign in with the same account.
- Open your RDP client and connect to your Mac’s Tailscale name or its Tailscale IP address, which starts with
100..
That’s it. Tailscale works out how to connect the two devices directly, even through firewalls and networks where you don’t have a public IP address, and falls back to relaying the encrypted traffic when a direct connection isn’t possible.
Good for: nearly everyone, especially if your router doesn’t have a VPN server, you’re behind your provider’s NAT, or you just want it to work in five minutes.
Keep in mind: Tailscale needs an account with them, signed in through a provider like Google, Microsoft, Apple, or GitHub, and relies on their service to coordinate connections. Your remote desktop traffic itself is end-to-end encrypted with WireGuard, and Tailscale has a free plan for personal use. If you’d rather avoid any third-party service, Option 1 is the way to go.
Option 3: Your router’s own remote access app (UniFi Teleport and WiFiman)
Some router makers wrap their VPN server in a friendlier app, so you get the self-hosted benefits of Option 1 without managing VPN profiles by hand.
If you have a UniFi gateway, for example, Ubiquiti’s Teleport feature is a one-click VPN built on WireGuard. You generate an invite link from your UniFi Network settings, open it in the WiFiman app, and connect. WiFiman Desktop handles this on Windows and macOS, and the WiFiman mobile app does the same on iPhone and Android. Once Teleport is connected, your laptop is on your home network and you can connect to your Mac as if you were sitting at home.
Other router platforms have their own versions of this, so check what yours offers before installing anything else.
Good for: people who already have a router that supports it. It’s often the quickest path, and nothing leaves your own hardware.
Keep in mind: each one only works with that maker’s routers, and the exact menus change between versions, so follow your router’s own documentation.
Which VPN option should you choose?
| WireGuard / OpenVPN | Tailscale | Router app (e.g. UniFi Teleport) | |
|---|---|---|---|
| Setup effort | Moderate | Easiest | Easy, if your router supports it |
| Router changes | VPN server, plus one forwarded VPN port | None | Built into the router |
| Needs a public IP | Yes | No | Usually |
| Third-party account | No | Yes | Usually your router maker’s |
| Works with any router | Most modern ones | Yes | Only that maker’s |
If you’re not sure, start with Tailscale. You can always move to a self-hosted VPN later without changing anything about your Mac or ProRDP.
Step 3: Connect to your Mac from anywhere
With the VPN connected, open your RDP client and add your Mac using the address that matches your VPN:
- WireGuard, OpenVPN, or a router app: the same local address or hostname you use at home, like
mac-mini.localor192.168.1.20. Some VPNs don’t pass.localnames through, so if the hostname doesn’t work, use the IP address. - Tailscale: your Mac’s Tailscale name or its
100.x.y.zaddress.
Then sign in with your ProRDP username and password, the same as at home.

How to make remote desktop faster over the internet
An internet connection, especially your home’s upload speed, is usually much slower than your home network. A few settings in ProRDP’s Experience pane help:
- Lower Max frame rate to 24 fps, the setting meant for slower links.
- Lower Max bitrate to 20 or 40 Mbit/s, so video doesn’t ask for more than your home upload can deliver.
- Try Enable UDP in the Connection pane. On links with latency or occasional packet loss, it avoids the stalls TCP causes while it waits to resend data. It’s still marked experimental, so turn it back off if you have any trouble.

The Experience docs explain each of these in more detail.
Wrapping up
Accessing your Mac over the internet comes down to two pieces: a remote desktop server on the Mac, and a VPN that lets only your devices reach it. Get those right and you can connect to your Mac from anywhere, without ever leaving it exposed.
ProRDP is free for home and personal use, with no account or cloud service of its own. Everything stays between your devices.