VPN

UniFi VPN Not Working? Troubleshooting Steps That Fix Common Problems

韩知予··10 min
UniFi VPN Not Working? Troubleshooting Steps That Fix Common Problems

Fix a UniFi VPN that will not connect by checking settings, credentials, ports, firewall rules, and client configuration.

If your UniFi VPN is not working, first check whether the UniFi gateway is online, the VPN server is enabled, and the client is using the correct VPN type and configuration. Then verify that the required traffic can reach the gateway. The exact fix depends on whether you use WireGuard, Teleport, L2TP, or another VPN option, so identify the VPN type before changing settings.

NordVPN — fast, secure VPN

Editor's pick: NordVPN — fast, secure VPN — Strong encryption, a no-logs policy and apps for every device. 30-day money-back guarantee. Get NordVPN →

Match the symptom to the first place to investigate

SymptomLikely failure pointFirst checkWhat to look for
VPN server is unreachableGateway or internet pathGateway statusGateway is online
Connection times outPorts or upstream routerInternet reachabilityVPN traffic can reach the gateway
VPN connects but no sites loadRouting or firewallClient routesTraffic uses the intended route
VPN connects but internal devices are unreachableFirewall or network accessFirewall rulesVPN clients are allowed to reach the network
Only one client failsClient settingsVPN profileClient settings match the configured VPN
All clients failGateway configurationVPN configurationVPN server is enabled and correctly configured
Failure began after a changeRecent configuration changeChange historyVPN, firewall, routing, or router settings changed

Compiled November 2026; check the provider's site for current details.

VPN prices compared
VPNObfuscationFrom / monthPlanFree planRefundAlipayWeChatUnionPayCryptoWebsite opens in ChinaTrustpilot
ZoogVPNTurn on manually
Shadow
$2.49/mo27 months: $59.99Yes7 days✓✓✓✓Official site blocked; our special link opens (4.4 s)4.2/5 (195 reviews)
NordVPNTurn on manually
Obfuscated Servers / NordWhisper
$3.49/mo27 months: $94.23No30 days?✗✓✓✗ Blocked4.2/5 (51,628 reviews)
ExpressVPN✓ On by default
all servers
$3.00/mo28 months: $84No30 days✗✗✓✗✗ Blocked4.4/5 (29,706 reviews)
Surfshark✓ On by default
Camouflage, with OpenVPN
See siteSee siteNo30 days✗✗✗✓✗ Blocked4.3/5 (31,823 reviews)
Proton VPNTurn on manually
Stealth, free plan too
$2.99/mo12 months: $35.88Yes30 days✗✗✗✓✗ Blocked2.1/5 (1,040 reviews)
Astrill VPNTurn on manually
StealthVPN / OpenWeb
$12.50/mo24 months: $300NoSee site✗✗✗✓✗ Blocked1.3/5 (110 reviews)
Private Internet AccessTurn on manually
Shadowsocks, OpenVPN only
$2.03/mo40 months: $81.2No30 days✗✗✗✗✗ Blocked4.2/5 (11,033 reviews)
CyberGhostTurn on manually
selected servers
$2.19/mo28 months: $61.32No45 days✗✗✗✓✗ Blocked4.0/5 (24,178 reviews)
PureVPNTurn on manually
switch to OpenVPN
$1.69/mo60 months: $101.55No31 days??✗✓✗ Blocked4.4/5 (17,994 reviews)
AdGuard VPN✓ On by default
TrustTunnel
$2.99/mo24 months: $71.76Yes30 days✓✗✓✓Official site blocked; our special link opens (3.7 s)4.3/5 (290 reviews)
MullvadTurn on manually
QUIC / Shadowsocks / LWO
$5.61/mo€5/moNo14 days✗✗✗✓✗ Blocked3.2/5 (192 reviews)
WindscribeTurn on manually
Stealth / WStunnel
$5.75/mo12 months: $69YesSee site✗✗✗✓✗ Blocked4.7/5 (13,355 reviews)
StrongVPNTurn on manually
Scramble, OpenVPN TCP
See siteSee siteNo30 days✓✗✗✗✗ Blocked4.4/5 (2,695 reviews)
LightXtreme 闪连Not listed$7.08/mo12 months: $84.99Yes30 days✓✓✓✓✓ Yes (3.5 s)No page

Prices checked 2026-11-10 on each vendor's pricing page (cheapest long plan, USD). Check the vendor's checkout for the final price.

Obfuscation checked 2026-11-14 on each vendor's site and help center: "on by default" = nothing to set; "turn on manually" = switch protocol or mode in settings; "not listed" = the vendor describes no obfuscation.

Payment methods checked 2026-11-10 on each vendor's payment pages: all 14 take cards and PayPal; ✗ = not listed, ? = the vendor's own pages disagree.

China access: whether the official website opens from mainland China networks (tests the website only, not the VPN connection). Last checked 2026-11-18 01:02 Beijing time.

Trustpilot score and review count checked 2026-11-10.

Identify where the connection fails

A VPN problem usually falls into one of three stages: the client cannot establish a connection, it connects but cannot reach your home network, or it works on some networks but not others. The symptom helps narrow down the cause.

  • Connection times out: Check the gateway’s public reachability, port forwarding, upstream firewall, and internet service.
  • Authentication fails: Recheck the username, password, keys, or downloaded client profile.
  • Connected, but no access to local devices: Check routing, allowed networks, DNS, and firewall rules.
  • Works on Wi-Fi but not mobile data: Look for blocked VPN traffic or a restrictive network.
  • Stopped working after a change: Review recent UniFi OS, Network application, router, or VPN configuration updates.

Also confirm that the client has internet access without the VPN. If it does not, fix that first.

UniFi VPN Not Working? Troubleshooting Steps That Fix Common Problems: Checklist

Check the UniFi gateway and VPN configuration

In UniFi Network, open the VPN settings for your gateway and confirm that the intended server or remote-access option is enabled. Menu names and available VPN types vary by UniFi OS and Network application version.

Check these settings: Which Free VPN Can Change Country Location? What to Know Before You Choose

  • The VPN server is active and attached to the intended gateway.
  • The VPN type on the device matches the server type.
  • The client profile is current and belongs to the correct VPN server.
  • The account, password, preshared key, or cryptographic keys are correct.
  • The VPN’s client address range does not overlap with your home or client network.
  • The networks you want to reach are included in the VPN’s routing or access settings.

If you changed a VPN setting, generate or download a fresh client profile where the interface allows it. A profile created before a configuration change may contain outdated details. Avoid sharing configuration files publicly: they can contain credentials or private keys.

Restarting the VPN client is a reasonable first step. If the gateway itself appears stuck, use the UniFi interface to restart the service or device when practical, rather than repeatedly changing settings.

Compare checks by where they apply

Check areaCheckWhen it mattersA useful result
UniFi gatewayConfirm gateway is onlineAny connection failureGateway is reachable
VPN configurationReview server and client settingsVPN fails for one or more clientsSettings are consistent
Internet pathConfirm the gateway is reachable from outsideRemote clients cannot connectThe connection reaches the gateway
PortsCheck VPN traffic is not blockedConnection times outRequired VPN traffic is allowed
Upstream routerCheck forwarding or routing to the gatewayGateway sits behind another routerTraffic reaches the UniFi gateway
ClientCompare the profile with gateway settingsOne client failsClient configuration matches
FirewallReview rules for VPN trafficVPN connects but access is blockedIntended traffic is permitted
RoutingCheck which networks use the VPNVPN connects without expected accessRoutes include the intended networks

Compiled November 2026; check the provider's site for current details. VPN That Allows You to Choose Location: What to Look For

Check internet reachability, ports, and upstream routers

For a VPN server that accepts incoming connections, the gateway must be reachable from outside your network. Check the gateway’s WAN address in UniFi and compare it with the public IP reported by a trusted IP-checking service. If the addresses differ, the gateway may be behind another router, a carrier-grade NAT (CGNAT), or another network layer.

When there is an upstream router:

  • Put the upstream device in bridge or passthrough mode if your provider supports it, or configure the required forwarding rules.
  • Forward only the ports required by your VPN type to the UniFi gateway.
  • Check that both the upstream router and UniFi firewall permit the VPN traffic.
  • Ask your internet provider whether inbound connections are blocked or whether your service uses CGNAT.

Do not copy a port number from a guide without checking your actual VPN configuration. Requirements differ by protocol and setup. If the WAN address is private or within a CGNAT range, ordinary port forwarding on your own router may not be enough. Ask the provider for a public IP or use a supported remote-access option that does not rely on inbound port forwarding.

Symptom Likely area to check
Connection times out everywhere Public IP, CGNAT, forwarding, upstream firewall
Authentication or key error Credentials, keys, VPN type, outdated profile
Connects but cannot reach LAN devices Routes, allowed networks, firewall rules, DNS
Works on one network only Client network restrictions or blocked VPN traffic

Review client settings, firewall rules, and routing

On the client device, remove an old VPN profile only after saving any information you need, then import or create a fresh one from UniFi. Make sure the device date and time are correct, as incorrect system time can cause certificate or authentication problems. Umamusume VPN Not Working? Causes and Fixes to Try

If the VPN reports a successful connection but local resources remain unavailable, check whether the client is routing traffic to the right destination. For example, a VPN user may be authorized to reach a specific network but not every VLAN in the home. Confirm that the desired LAN or VLAN is included in the VPN’s access policy and that firewall rules allow traffic between the VPN subnet and that network.

Also check for overlapping subnets. If both the remote location and home network use the same address range, the client may send local-network traffic in the wrong direction. Changing one network to a non-overlapping private range can resolve this.

DNS can cause a similar-looking failure: a device may reach an internal server by IP address but not by its hostname. Test a known local IP address, then check the VPN’s DNS settings and the client’s assigned DNS server.

UniFi VPN Not Working? Troubleshooting Steps That Fix Common Problems: Key points

Test methodically and check for recent changes

Change one setting at a time and test again. This makes it easier to identify the cause and avoids creating new problems while troubleshooting. Extensions for Edge VPN: What to Choose and How to Stay Safe

  1. Test the VPN from a different internet connection, such as a phone hotspot.
  2. Check the UniFi gateway’s status and confirm the VPN server is enabled.
  3. Re-import the client profile or carefully verify credentials and keys.
  4. Check the WAN address and any upstream router or firewall.
  5. Test access to a local device by IP, then investigate routes and DNS.
  6. Review UniFi event or system logs around the time of a failed attempt.
  7. Compare the setup with the last known working configuration.

If the problem began after an update, review release notes and known issues for your UniFi OS, Network application, and client operating system. Update the client app when appropriate, but avoid factory-resetting the gateway as an early troubleshooting step. A reset can erase working configuration and make recovery harder.

Choose the next step based on what the test shows

Test resultMost relevant areaNext step
Gateway is offlineGatewayRestore gateway connectivity
Gateway is online, VPN is unreachableInternet path or portsCheck external reachability and blocked traffic
Gateway is behind an upstream routerUpstream routerCheck how VPN traffic reaches the gateway
VPN fails on every clientVPN configurationReview gateway VPN settings
VPN fails on one clientClient settingsCompare that client’s profile with the working configuration
VPN connects, but internal access failsFirewall or routingCheck access rules and routes
Only some destinations failRouting or firewallCheck the affected networks and traffic rules
Problem started after a changeRecent changesReview and test the changed settings

Compiled November 2026; check the provider's site for current details.

Start by identifying the VPN type and the failure stage. For timeouts, focus on public reachability, CGNAT, and forwarding. For authentication errors, refresh the profile and verify credentials. For a connection with no LAN access, check routes, firewall rules, overlapping subnets, and DNS. If those checks do not resolve the issue, collect the VPN type, gateway model, software versions, exact error, and relevant logs before contacting Ubiquiti Support or your internet provider. Free VPN to Change Your Location to the US: What to Know