unbraid

Guides · Published · Updated on

When Wi-Fi blocks your VPN on hotel and public networks

When a VPN connects at home but not on hotel or public Wi-Fi, check for a sign-in page first: until you get through it, no VPN can connect. If that isn’t it, the network may let only a few ports out, recognise VPN traffic and drop it, or refuse to look up your VPN provider’s addresses.

What helps depends on which of these it is. Below, each one gets its own section, followed by what the larger providers offer for difficult networks, with links to their own documentation.

Four ways a network stops a VPN

What the network does What you notice What can help
Holds you at a sign-in page No internet at all until you accept the terms or enter a room number Sign in first, then connect the VPN
Blocks UDP or most ports The VPN keeps “connecting” and never finishes A protocol over TCP, or a port the network allows
Inspects traffic and drops VPN connections The VPN connects for a moment, or not at all, even on port 443 Obfuscation, if your provider offers it
Blocks DNS lookups of VPN providers The app can’t sign in or load its server list A different DNS server, or an app that connects by address

The VPN service itself can also be having trouble, so if none of this fits, check whether it works on another network or look at the provider’s status page.

Sign-in pages come first

Many public networks put you behind a captive portal: a web page you have to get through before the network lets your traffic out. Until you do, the network answers almost nothing. Your VPN app tries to reach its server, the network drops or redirects that attempt, and the tunnel never comes up.

Connect to the Wi-Fi, complete the sign-in page, check that an ordinary website loads, and only then turn the VPN on.

Phones find these pages on their own. Android tests each new network with small HTTP and HTTPS requests to known addresses. When the HTTP request is redirected to some other page instead of getting the expected empty reply, Android shows a “Sign in to network” notification. Since Android 11, a network can also say so directly (Android’s notes): it hands out the address of a small web service when the phone joins, a step RFC 8910 defines, and that service, described in RFC 8908, tells the phone whether sign-in is needed and where. Android’s own sign-in screen is built to use the Wi-Fi directly, outside the VPN, though that doesn’t work on every phone or with every VPN setting.

When the sign-in page won’t open

Android’s Block connections without VPN setting stops apps from going online whenever the VPN isn’t connected. Android’s own sign-in window is built to reach the Wi-Fi anyway. But if the notification doesn’t appear and you open the sign-in page in your browser instead, the browser is an ordinary app and gets blocked, and you’re stuck: the VPN can’t connect until you’ve signed in, and the page can’t load while the VPN is required. Some phones and VPN setups also get in the way of the sign-in window itself.

If that happens, turn Block connections without VPN off, sign in to the Wi-Fi, connect the VPN, and turn the setting back on. While it’s off, any app can go online without the VPN, including in the background, and closing apps doesn’t stop that. If you can’t accept that gap, use another network. The Android kill switch guide explains what the setting does and where to find it.

Some portals also time out after a few hours or a day and show the sign-in page again. The VPN then stops passing traffic until you sign in once more, which can look like the VPN failing. If a VPN drops at the same time every day on a hotel network, that’s a likely cause. Why your VPN keeps disconnecting covers the other reasons a tunnel drops.

Networks that let only a few ports out

Every connection goes to a port on the other side, a number that says which kind of service it wants. Websites use TCP port 443 for HTTPS and port 80 for plain HTTP. Newer browsers also use HTTP/3, which runs over UDP port 443, but they fall back to TCP when UDP is blocked, so websites keep working on networks where a UDP-only VPN can’t. VPN protocols have their own: WireGuard often uses UDP port 51820, OpenVPN UDP or TCP port 1194, but providers can pick any number.

Strict networks allow only what most guests need, typically web traffic on 80 and 443, plus DNS, and drop everything else. Some go further and block UDP almost entirely. TCP 443 and UDP 443 are separate rules, so one can be open while the other is closed. When a firewall silently drops the packets, the VPN app keeps “connecting” until it gives up; other firewalls refuse the connection at once.

Some VPN apps let you change the port, or try several on their own until one answers. Some protocols can also run over TCP instead of UDP, often on port 443, so that to a simple port filter the connection looks like any other secure website. A network that looks inside the traffic can still recognise it; the next sections cover that.

WireGuard is UDP only, OpenVPN can use TCP

WireGuard, and the provider protocols built on it such as NordLynx, sends everything over UDP. Its authors chose that on purpose: WireGuard’s known limitations page says it “explicitly does not support tunneling over TCP” and leaves turning UDP into TCP to an outer layer, such as a separate obfuscation tool. When a provider offers “WireGuard over TCP”, it has added such a layer on top.

OpenVPN can run over either. Over TCP it can listen on port 443, and the server can even share that port with a real web server: the OpenVPN manual describes port-share, which passes anything that isn’t OpenVPN to the website behind it.

TCP has a cost. Inside the tunnel, your apps mostly use TCP themselves, and TCP inside TCP reacts badly to lost packets: both layers retry and slow down, on top of each other. The WireGuard page above gives that as its reason for staying with UDP. On a clean connection you may hardly notice. On busy hotel Wi-Fi, OpenVPN over TCP can feel slower than WireGuard would on a network that allowed it. In return, it can connect where UDP is blocked, as long as the network lets its server and port through.

Check which port a provider’s TCP servers really use before counting on it. The remote lines in an OpenVPN config file name the address and port, and not every provider uses 443.

Deep packet inspection and obfuscation

Some networks don’t stop at ports. Deep packet inspection means the firewall looks at the shape and content of the packets: how a connection starts, the sizes and timing of the first messages, fixed bytes that a protocol always sends. WireGuard and OpenVPN both have recognisable handshakes, so a firewall that knows them can drop them on any port, including 443.

Obfuscation changes what the firewall sees. VPN apps do it in different ways:

  • Wrapping the VPN in TLS, the same encryption HTTPS uses, so the outside looks like a secure web connection.
  • Scrambling the packets so they no longer match a known pattern, without pretending to be anything in particular.
  • Carrying the traffic in a different protocol, such as WebSockets, QUIC or Shadowsocks, which some firewalls let through more readily.

None of these is certain to work. Firewalls change, and some block anything they can’t identify. Obfuscation can also cost speed and add delay, depending on the method and the network.

It only changes the connection between your phone and the VPN server. A website or streaming service that blocks known VPN server addresses still sees the same address, obfuscated or not.

What each provider offers for difficult networks

Providers give these features their own names. The table lists what each one’s documentation describes, in alphabetical order. Availability differs by app and platform, so check the linked page for yours.

unbraid earns a commission if you subscribe through a link marked (affiliate link).

Provider Feature names What the provider says it does
AirVPN SSL tunnel, SSH tunnel, AmneziaWG in Eddie for Android The SSL tunnel wraps OpenVPN in TLS to hide its usual fingerprint, at some cost in speed; SSL and SSH need extra setup, AmneziaWG is in the Android app
ExpressVPN Automatic obfuscation, Lightway TCP and OpenVPN TCP (connection help), Lightway Proxy Obfuscation turns on by itself on supported platforms when a network interferes with VPN traffic; Lightway Proxy, on Android and iOS, needs an HTTPS proxy you supply
IVPN V2Ray and Obfsproxy V2Ray for WireGuard and OpenVPN, Obfsproxy for OpenVPN on desktop; on Android, V2Ray is a WireGuard option
Mullvad Anti-censorship: LWO, QUIC, Shadowsocks, UDP-over-TCP, WireGuard port UDP-over-TCP carries WireGuard on TCP port 80, 443 or 5001; Mullvad notes that changing the port alone is not obfuscation
NordVPN (affiliate link) NordWhisper, Obfuscated servers NordWhisper makes VPN traffic resemble ordinary web traffic; the Obfuscated servers category now runs on NordWhisper instead of OpenVPN
Private Internet Access Multi-Hop and Obfuscation with Shadowsocks Shadowsocks is an encrypted proxy meant to disguise VPN traffic as regular internet traffic; the linked steps are for the desktop app
Proton VPN Stealth, WireGuard TCP Stealth is designed to get past internet blocks by hiding the VPN connection; both are listed for Android
Surfshark (affiliate link) NoBorders, obfuscated OpenVPN servers NoBorders turns on when the app detects restrictions and offers a list of servers suited to them; OpenVPN connections use obfuscated servers
Windscribe Stealth and WStunnel, anti-censorship settings Stealth wraps OpenVPN in TLS; WStunnel carries OpenVPN in a WebSocket

Most of these live in the provider’s own app. A config file you download and import into another app usually gives you plain WireGuard or OpenVPN, without the provider’s obfuscation layer. A few, like AirVPN’s SSL and SSH tunnels, work with other software after some extra setup.

When the network blocks DNS

Before a VPN app can connect, it often needs to look up names: the provider’s sign-in server, its server list, sometimes the VPN server itself. Many networks filter DNS, the service that turns names into addresses, and some filters include VPN providers’ websites as a category. The lookup then fails or points somewhere useless, and the app can’t sign in or load servers even though the tunnel itself might get through.

DNS filtering is a likely cause when the app says it can’t reach its servers but a server you connected to before still works, or when the provider’s website won’t open in the browser either. A blocked address or an outage at the provider can look the same.

What can help depends on the app. Some apps keep a saved server list and connect by IP address, which needs no lookup. Some let you change the phone’s DNS. Android’s Private DNS setting, with a provider hostname you enter rather than Automatic, sends lookups encrypted to that server, which gets around a plain DNS filter if the network still lets that server through; Private DNS and a VPN on Android explains how it interacts with a VPN. If the network blocks encrypted DNS as well, it is probably filtering on purpose.

Work, school and other networks with rules

School and workplace networks often block VPNs on purpose. Company, school, university and library networks usually come with terms of use, and those often forbid tunnelling around their filters. Breaking them can cost you network access, or more.

If a network’s rules don’t allow VPNs, follow them. Ask whoever runs it instead: many workplaces have their own VPN or an exception process, and many schools have a guest network with different rules. Mobile data is a separate network, but a school or workplace may have rules about devices too.

Hotels, cafés, trains and airports set rules too, usually in the terms on the sign-in page. Read them before you accept.

A short checklist

When the VPN won’t connect on a new Wi-Fi network, work through these in order:

  1. With the VPN off, tap Android’s “Sign in to network” notification. If there isn’t one, open a plain http:// page in the browser, such as http://example.com. Complete the sign-in page, then connect the VPN.
  2. If the sign-in page won’t load, turn off Block connections without VPN for a moment, sign in, connect, and turn it back on.
  3. If the browser works but the VPN never finishes connecting, try another protocol in your VPN app: OpenVPN over TCP, or the provider’s TCP or obfuscated option.
  4. If the app can’t sign in or load servers, suspect DNS filtering. Try a saved server, or set Private DNS to a provider hostname you trust.
  5. Still nothing, and it’s a work or school network: it may block VPNs on purpose. Check its rules, or use mobile data.

What unbraid can do on these networks

unbraid is a split tunneling VPN client for Android: you bring your own provider account or server, and each app can leave through its own exit. It has these options for difficult networks. Whether any of them gets through depends on the network.

  • NordVPN over OpenVPN TCP. In the location picker, NordVPN’s Protocol menu offers NordLynx, OpenVPN UDP and OpenVPN TCP, the last one described as “For networks that block VPNs. Much slower than the others”. unbraid uses the OpenVPN profiles NordVPN publishes; the ones we looked at on 14 November 2026 listed ports 1231 to 1234, not 443, so a network that only lets web ports out may still stop it. NordWhisper and NordVPN’s Obfuscated servers aren’t in unbraid.
  • AirVPN over OpenVPN. AirVPN’s Protocol menu offers OpenVPN UDP and OpenVPN TCP, both on port 443 and both needing the AirVPN sign-in with an API key, and Automatic, which starts with WireGuard and switches to OpenVPN TCP by itself when WireGuard stops answering on the ports unbraid tries. The switch needs the API-key sign-in and never happens on a route that goes Via another; connecting again, or a new network, starts with WireGuard again. OpenVPN TCP was much slower than WireGuard in our tests.
  • IVPN’s Disguise. On IVPN’s page, Advanced settings has Disguise: V2Ray wraps the connection so it looks like web traffic, as in IVPN’s own apps. With it on, an IVPN route connects only to a server that supports the disguise and never without it. It doesn’t work together with Via yet, so such a route stays offline and says why.
  • Mullvad’s Disguise. On Mullvad’s page, Advanced settings has Disguise: Shadowsocks carries WireGuard inside Shadowsocks, as Mullvad’s own app does, for routes made through the Mullvad sign-in. With it on, a Mullvad route stays offline when it can’t get a disguised tunnel. It needs a network that allows UDP and doesn’t work with Via. On Android, disconnect unbraid before turning it on or off. On a Mac it needs unbraid 1.4.8 or later, and some restart and restore paths can still use an earlier WireGuard connection without Disguise.
  • Junk packets. On the page of each WireGuard provider, Advanced settings has Junk packets: unbraid sends five random packets before each WireGuard handshake it starts, which can help on some networks that block VPNs. The servers ignore them. IVPN routes using Disguise don’t send them.
  • Other ports for AirVPN, IVPN and Mullvad. On each one’s page in Settings, Providers & servers, Advanced settings has a Port choice. Automatic moves to the provider’s next port when its tunnels stop answering, and starts again from the first one on a new network. IVPN’s Port also has Another port, for a UDP port of your own in the ranges IVPN’s servers answer on. AirVPN also has Entry address, with an Alternative address for networks that block the standard one; its UDP 51820 port always uses that alternative address. These settings change how WireGuard reaches the server: IVPN’s Disguise and one-tunnel multi-hop use their own ports. These are all UDP ports: they help against a port block, not against a network that blocks UDP or inspects traffic.
  • Your own OpenVPN files over TCP. Add a connection with WireGuard or OpenVPN file. The proto line sets the file’s transport and each remote line can set its own, so to stay on TCP, make sure every remote uses TCP. It connects on whatever port the file names. OpenVPN through an HTTP or SOCKS proxy isn’t supported.
  • Shadowsocks keys. Shadowsocks link takes an ss:// key, for example from your own Outline server or another Shadowsocks server you run. Keys that use the obfs-local or v2ray-plugin plugins are accepted; such routes carry TCP traffic only. Dynamic ssconf:// keys and Outline’s connection prefixes are not.

The other built-in providers connect over UDP: WireGuard for most of them, OpenVPN over UDP for ExpressVPN. On a network that blocks UDP, their routes won’t connect straight to their servers, though a WireGuard route can go Via a working TCP route. Apart from IVPN’s V2Ray, their own apps’ obfuscation features, such as those in the table above, aren’t available in unbraid.

Because each route is separate, one app can use an OpenVPN TCP, disguised or Shadowsocks route while others use plain WireGuard. While unbraid is running, apps on a route that can’t connect stay offline; they don’t fall back to your normal connection. Local and home access you’ve turned on in Local & home access works separately.

Questions

Why does my VPN work on mobile data but not on hotel Wi-Fi? They’re separate networks with separate rules. The hotel’s network may want you to sign in first, may block the port or protocol your VPN uses, or may block VPNs outright. Mobile networks can restrict VPNs too, but their rules are different, so one may work where the other doesn’t.

Does a VPN on port 443 always get through? No. TCP 443 and UDP 443 can have different rules, and a network that only checks port numbers lets through whichever it allows. A network with deep packet inspection can still recognise a VPN handshake on port 443 and drop it.

Is obfuscation the same as a stronger VPN? No. It changes how the connection looks from outside, so a firewall is less likely to recognise it. By itself it doesn’t strengthen the tunnel’s encryption or change what the VPN provider can see.

Bring your own VPN

unbraid is a VPN client with no servers of its own. You sign in with an account you already have, or add your own server. It has built-in support for AirVPN, ExpressVPN, IVPN, Mullvad, NordVPN (affiliate link), Private Internet Access, Proton VPN (Free included), Surfshark (affiliate link) and Windscribe. For CyberGhost, you import config files from your account, with step-by-step help in the app.

We earn a commission if you subscribe through a link marked (affiliate link). It helps keep unbraid free. If you're about to subscribe to a VPN service, thank you for considering doing it through one of them.