Mini Screen

Control your Mac from iPhone or iPad with WireGuard

Mini Screen Pro can reach the Mac’s built-in Screen Sharing through your WireGuard tunnel. You’ll need a reachable WireGuard peer, a single-peer client configuration for your device, and iOS 17 or iPadOS 17 or later. Download Mini Screen Remote on the App Store

Mini Screen’s built-in WireGuard requires Mini Screen Pro, a one-time in-app purchase. The app is free to download, and you can control one Mac directly on the same local network without Pro.

Quick connection checks

  • WireGuard handshake fails. Tap Verify WireGuard. If it times out, check the peer’s Endpoint and UDP port. A successful handshake only confirms the peer is reachable and authenticated.
  • The handshake works, but Screen Sharing doesn’t respond. Check that AllowedIPs covers the Mac’s reachable address. Select Check Screen Sharing to test TCP port 5900 (or your configured port), and check that the Mac is awake with Screen Sharing on.
  • It stopped working just after the Mac restarted. If FileVault is on, the Mac may still need its first disk unlock. Mini Screen can’t unlock it through Screen Sharing. See how to reconnect after a restart.

Prepare your WireGuard peer and Mac

  1. Run WireGuard on the Mac, or use a WireGuard router or server that can reach it. Get the client’s .conf file or QR code and confirm that the peer’s UDP port is reachable from your iPhone or iPad. Keep the configuration private because it contains a private key.
  2. On the Mac, open System Settings → General → Sharing and turn on Screen Sharing. Under “Allow access for,” choose the Mac account you’ll use. Keep the Mac on, connected and awake during the test.

Install WireGuard · WireGuard Quick Start · Apple’s Screen Sharing guide

Import the configuration in Mini Screen

  1. Tap + in Mini Screen and choose WireGuard under Network Route.
  2. Choose Import Configuration File or Paste Configuration. To use a QR code, choose Import from QR Code and scan it with the camera or select it from Photos. If setting up the client by hand, you can generate a key pair in Mini Screen and give your admin the public key to register the client.
  3. Tap Verify WireGuard. A successful handshake confirms you can reach and authenticate with the peer. Use the Host Information section to check the connection to the Mac itself.
Mini Screen WireGuard connection editor showing options to paste a configuration, import a file or QR code, and generate a key pair
Choose how to import your WireGuard configuration in the connection editor.

Enter the Mac’s address and connect

Suppose WireGuard runs on the Mac at tunnel address 10.8.0.2 and the iPhone has tunnel address 10.8.0.3. Each value goes in a different field.

  • Endpoint is the peer’s reachable host and UDP port, such as vpn.example.com:51820.
  • Interface Address is the tunnel address assigned to the iPhone, such as 10.8.0.3/32.
  • Address under Host Information is the Mac’s address, 10.8.0.2 in this example. The port is usually 5900. The client’s AllowedIPs must cover this Mac address, for example 10.8.0.2/32.

If the WireGuard peer is a router or server, use the Mac’s local IP address reachable through the tunnel under Host Information. Check any address Mini Screen fills in automatically against the Mac’s address.

Tap Check Screen Sharing to confirm the Mac’s service responds. Under Authentication, choose Mac Account and enter the Mac’s login username. Save and tap the connection card. You can enter the password when you connect. To test from another network, switch your iPhone to cellular or your iPad to a different Wi-Fi network.

Troubleshoot a connection

The WireGuard handshake times out

Check the Endpoint hostname or IP, its UDP port and the public key configured on each side. If you use a preshared key, make sure it matches on both sides.

The handshake succeeds, but Screen Sharing doesn’t respond

Check that AllowedIPs covers the Mac’s address and that Screen Sharing is on. If you connect through a router or server, check the route to the Mac, the return route and TCP port 5900 inside the tunnel. From outside your network, the WireGuard UDP Endpoint is the port you need to reach.

Screen Sharing responds, but Mac sign-in fails

Use the Mac’s login username and password and check that the account is allowed under Screen Sharing. See Mac Screen Sharing setup

The standard connection works, but High Performance mode fails

Turn off Mac High Performance mode for this connection to keep using standard mode. Before trying it again, check that UDP traffic on ports 5900 and 5901 can travel both ways through WireGuard.