UniFi · Teleport VPN
UniFi Teleport will not connect or keeps dropping: invitations, WiFiman, and NAT checks
Teleport has only a few moving parts, which is good news: an expired invitation, a stale client entry, or a disabled gateway setting covers most failures.
The fast answer
Do not forward ports and do not rebuild the gateway. Teleport’s most common failure is the invitation itself: it expires in 24 hours and works for one device at a time. Generate a fresh invitation for that one device, open it on a device with an up-to-date WiFiman app, and revoke the old invitation. If the connection then hangs or drops on Windows, update WiFiman Desktop and remove any stuck Teleport entry before accepting the fresh invitation.
What you are looking at, in plain words
Teleport is Ubiquiti’s zero-configuration VPN: the gateway runs a WireGuard-based server, you generate an invitation, and the recipient opens it in WiFiman (mobile or desktop), which adds the VPN automatically. No config files, no port forwarding, and — unlike a standard VPN server — it works when both ends sit behind NAT. That simplicity also narrows the diagnosis: if local network access works but Teleport does not, the fault is almost always the invitation, the WiFiman client, or the gateway’s Teleport setting — in that order.
Step 0 — Prove which part is failing
- Check the invitation’s age and use. Was it sent more than 24 hours ago, opened on a different device first, or already accepted once? Any of those makes it invalid, however correct everything else is.
- Check the gateway side from the local network. Open UniFi Network locally and confirm Teleport is enabled under Network Settings → VPN. If you cannot reach the console locally either, you have a console problem, not a Teleport problem.
- Check the client side separately per device. If Teleport works on a phone but not on a laptop, the gateway is fine and the laptop’s WiFiman client is the fault. Diagnose per device, not per site.
- Check whether the client is behind CGNAT or a restrictive network. Teleport tolerates NAT on both ends, but a network that blocks the connection entirely (a captive portal, a corporate firewall) will still stop it. Test from a phone hotspot to isolate the client’s network.
The fixes, in order
- Send a fresh invitation for one device. In UniFi Network, generate a new Teleport invitation and send it to that device only. If the old invitation is still pending, revoke it in Invitation History first, so there is exactly one live invitation for that device. If access was already accepted on the wrong device, revoke it by viewing that Teleport client in Client Devices.
- Install or update WiFiman, then open the invitation again. If WiFiman is not installed, the invitation link prompts for installation — after installing, open the invitation link a second time so it adds the VPN. On desktop, install WiFiman Desktop. If a previous Teleport attempt left a stuck entry, remove that entry in WiFiman before accepting the fresh invitation, and update WiFiman to the latest version first.
- Confirm Teleport is enabled on the gateway. Teleport requires a Next-Gen gateway or a UniFi Cloud Gateway running UniFi OS, enabled from Network Settings → VPN. If the setting is off, no invitation will ever connect, however fresh it is.
- Check the IPv6 note. Ubiquiti notes Teleport requires an IPv6 connection on the gateway’s WAN in some circumstances, while IPv6 on the LAN is not necessary. If Teleport consistently fails on a gateway whose WAN has no IPv6 at all, enabling IPv6 on the WAN (where your ISP supports it) is the documented next check — not a port forward.
- Fix drops by re-issuing, not by tweaking. If Teleport connects then drops repeatedly, revoke that client’s access in Client Devices, confirm the gateway’s internet connection is stable (a gateway that loses internet drops every remote session with it), and accept a fresh invitation. Do not “fix” drops by switching the user to a standard WireGuard server unless Teleport itself is ruled out — the two systems have different requirements, and mixing their instructions causes the port-forwarding confusion above.
Do not fix the wrong thing first: do not share one invitation across a team. Forwarding a single invitation link to several people guarantees that only the first device works and everyone else reports a “broken” Teleport. Each person and each device needs its own invitation — and each invitation needs its own 24-hour window.
Prove it worked
From the remote device, connect in WiFiman, confirm Teleport shows connected, and open a real LAN resource (an internal page, a shared folder, or a printer page) — not just the WiFiman status. Disconnect and reconnect once: a connection that only survives its first attempt is not fixed. Then confirm the device still reaches the internet normally when Teleport is off, so you have not left a broken default route behind.
Still not working? Work this ladder in order
- Invitation link does nothing. WiFiman is not installed, or the link was opened in an in-app browser that cannot hand off to WiFiman. Install WiFiman, then open the link again in a normal browser.
- “Connecting…” forever, on every device. Teleport is likely disabled on the gateway, or the gateway has no usable internet path. Check the gateway setting locally and its WAN status before blaming clients.
- Works on mobile, stuck on Windows. WiFiman Desktop: update it, remove the stuck Teleport entry, revoke in Client Devices, and accept a fresh invitation on that laptop only.
- Connects, then drops within minutes. Gateway internet instability, or the client network changing (Wi-Fi to mobile data, VPN conflicts). Test from a stable hotspot to separate gateway faults from client-network faults.
- Teleport cannot work here at all. If the gateway is not a supported Cloud/Next-Gen gateway, or Teleport is unavailable for that site, use a standard WireGuard server instead — with its own requirements (public IP or UDP 51820 forwarding). See the companion guide: UniFi WireGuard VPN connects but you cannot reach the LAN.
- None of these steps fixes it. Take the results of Step 0 and the failing step above to Ubiquiti Support via the Ubiquiti Help Center (the official documentation linked in Sources above) — that is the next step, not a different vendor's forum thread.
Mistakes that make it worse
- Reusing one invitation across several devices.
- Forwarding UDP ports for Teleport, following WireGuard-server instructions.
- Accepting a new invitation over a stuck WiFiman entry without removing it first.
- Testing Teleport from inside the office LAN and concluding remote access works.
- Rebuilding the gateway before checking the 24-hour invitation window.
FAQ — Teleport, answered
Can I reuse one Teleport invitation for several devices?
No. An invitation expires after 24 hours and can be used by a single device at a time. Send a separate invitation for each laptop and phone, and generate a fresh one if the first has expired or was already used.
Do I need to open ports or get a public IP for Teleport?
No — that is Teleport’s main advantage over a standard WireGuard server. Teleport works when both the gateway and the client are behind NAT. If you are being told to forward ports, you are following WireGuard-server instructions, not Teleport instructions.
Teleport works on my phone but not on my Windows laptop. What differs?
The client app differs: phones use WiFiman mobile, laptops use WiFiman Desktop. Update WiFiman Desktop first, remove any stuck Teleport entry, revoke the old invitation, and accept a fresh invitation on that laptop alone.
Sources
Ubiquiti Help Center — UniFi Gateway – Teleport VPN (24-hour expiry, single device, WiFiman flow, IPv6 WAN note, behind-NAT behaviour, revoke paths) · Introduction to VPNs (Teleport as a WireGuard-powered VPN server) · Companion guide: UniFi WireGuard VPN connects but you cannot reach the LAN.
Did this fix work for you?
Your reaction is stored only in your own browser — it is not sent to us.