Two different systems ask you to sign in before you can reach anything useful on a public network: the venue's Wi-Fi and your VPN gateway. They look alike on screen and authorize entirely different things. The portal decides whether this device may use the local network; the VPN decides whether you may reach a private network somewhere else. I keep them apart by asking one question of every prompt: who can actually verify this secret? What follows is the checklist I run at hotels, airports and conference venues, including the points where I stop typing.

Map each login to the service that checks it

A single hotel connection can involve four separate checks, and only some want input from you. Put them in order first, because the screen rarely states which stage it belongs to.

StageWho checks itWhat you give itWhat it proves
Wi-Fi associationThe access pointWPA2 passphrase or 802.1X credentialsThat the device may join this SSID
Portal authorizationThe venue or its portal providerRoom number, booking name, voucher, email or access codeThat a guest may use local access
VPN authenticationYour gateway or identity providerClient certificate, password, one-time code or SSO approvalThat the user or device may enter the private network
Application loginEach internal serviceThat service's own accountThat you may use that service

802.1X networks, common in offices and universities, blur the first two rows. There the Wi-Fi sign-in is itself an identity check against a RADIUS server, and the client may present a routing identity while the real account travels inside the encrypted exchange. Even then the check is about joining the network; it does not authorize the tunnel, and the VPN gateway does not accept it as proof of anything.

Order matters more than labels. Captive portals exist because access can be granted after association, which is why a venue can hand the page to a specialist provider. The IETF's RFC 8952 treats the portal as its own component, so an unfamiliar domain is a reason to verify, not proof of fraud by itself. Check the domain against the venue's written instructions, and the fields against the table.

Check what a portal is allowed to ask for

Portal fields are about entitlement, not identity: room number, booking surname, voucher code, the code printed on a key sleeve, an email for a time-limited pass, acceptance of terms. The venue already knows who booked the room, so it can match those facts without learning anything that would let it act as you elsewhere.

Anything past that list deserves a pause. A hotspot page cannot verify your domain password, your VPN one-time code, a recovery code or a private key, and it has no reason to want them. The one legitimate exception is an organization-run network: an office guest SSID or a conference Wi-Fi may hand you to the identity provider you already use for work. It is still distinguishable: the sign-in host is your daily one, the consent screen names your tenant, and the flow opens in a visible browser tab.

Marketing email is separate: a travel alias satisfies the field without handing over your work identity.

Check that the VPN client wants its own credentials

A client requests exactly what its profile is configured to use, so the expected prompt is a property of the profile and not of the network you happen to be on. Certificate profiles usually show a profile choice and then connect silently. Username and password profiles ask for both, often with a one-time code. SSO profiles open your browser to the identity provider and return with a token. WireGuard is different again: it authenticates devices by public key and has no user login, so a window offering a WireGuard username and password is not describing WireGuard.

Read the profile before you travel. In OpenVPN, auth-user-pass tells you that a password prompt is expected, while cert, key or pkcs12 means a certificate should be doing the work. If a profile that normally connects without a prompt suddenly asks for a password, suspect a profile that failed to load its certificate or fell back to another method. A prompt is not an invitation to type your work password into whatever window appeared.

No legitimate VPN client asks for the room number, the portal voucher or the Wi-Fi passphrase as an authentication input. When that happens, either the client is not what it claims to be, or a captive portal is intercepting traffic before the tunnel forms and you are reading an HTML page styled to look like a login.

Stop at these five conditions

These are the points where I stop rather than continue with a plausible workaround. Each is cheap to check and expensive to get wrong.

  1. A certificate or TLS warning appears on the portal or on the SSO page. Do not click through it to reach the network.
  2. The page asks for a secret that only the VPN gateway or identity provider can verify: domain password, one-time code, recovery code, private key.
  3. The domain does not match the venue's printed instructions or the sign-in host your organization documents for its own services.
  4. You are asked to install a root certificate, a configuration profile or a helper application that does not come from your device management.
  5. An MFA approval arrives that you did not start, or the VPN client asks for hotel credentials.

The fallback is not a different password. Use a phone hotspot, ask the front desk for the exact network name and access method, and report the page to whoever runs the network or your IT desk. None of that requires testing a credential against a page you cannot attribute.

Attribute a failure to the right stage

Once both stages have passed, failures still happen, and the error usually names the stage if you read it in order: association, address assignment, portal authorization, tunnel establishment, then the internal resource. Changing a VPN password because a portal code expired wastes time and leaves the real problem in place.

A few probes separate the stages. After portal sign-in, request an ordinary public HTTPS page. If the portal returns instead, authorization never completed at that layer. If the VPN client reports that it cannot reach the gateway, the problem sits below the tunnel: the portal session, name resolution, or a network that blocks the port. If the tunnel comes up and one internal hostname fails, name resolution or policy inside the private network is the better suspect.

Portal sessions also expire independently of the tunnel. When the venue revokes access, an established VPN connection drops even though its credentials were never wrong. Reauthorize the portal, then reconnect the VPN and let it renegotiate. Rotating the VPN password then fixes nothing and can lock you out.

Give each secret only to the system that can verify it, and treat a prompt that does not fit the table as a stop sign rather than a step to work around. If both stages pass and the tunnel still refuses, capture the exact client error before changing any credential.

Mikanda mikatakata