
What is a captive portal?
A captive portal is the web page a guest sees before a wifi network lets them on: accept the terms, enter a code or sign in, and only then does the internet open up. Hotels, cafés, offices and venues use it to control who gets on, and on what conditions.
How a captive portal works
A guest joins the network and receives an address through DHCP, as on any other network; see What is DHCP?. At that point the device is connected but not yet allowed out. The access point, wifi controller or gateway holds back all traffic except DNS and the portal itself, and redirects the first web request to the login page.
Phones and laptops notice this on their own. Straight after connecting, they request a known test address from their manufacturer. If the answer is not what they expect, they assume a portal is in the way and open a small login window. Once the guest has logged in, the gateway allows that device, usually by its hardware address, for a set time. Newer standards, RFC 8908 and RFC 8910, let the network announce the portal directly instead of relying on that redirect.
- Click-through Accept the terms of use and go. The simplest option, and enough for a café or a waiting room.
- Voucher or access code A code from reception or on a card, valid for a set period or number of devices.
- Registration An email address or phone number, sometimes confirmed with a code. This collects personal data, see below.
- Sponsor approval A visitor enters the name of their host, who approves access. Common in offices with many business guests.
Login methods compared
| Method | Suits | Watch out for |
|---|---|---|
| Click-through | Cafés, waiting rooms, public spaces | Anyone in range can use it, so a bandwidth limit per device matters |
| Voucher | Hotels, events, meeting rooms | Someone has to hand out and manage the codes |
| Registration | Venues that want to stay in touch with guests | Personal data, which needs a lawful basis and a privacy notice |
| Sponsor approval | Offices with business visitors | A host who is in a meeting cannot approve anyone |
Private wifi addresses on phones complicate all of these. A device that presents a new hardware address looks like a new guest and may have to log in again.
What a captive portal does not do
A portal decides who gets on. It does not make the network safe.
It does not encrypt
On an open network, traffic between the device and the access point is not encrypted. Wi-Fi Enhanced Open (OWE) encrypts it without a password, if the devices and access points support it.
It does not separate
Guests belong in a network of their own, with no route to anything internal. That is done with a separate segment, see What is a VLAN?, not with a login page.
It does not share capacity fairly
A limit per device and a cap for the guest network as a whole stop one guest’s download from slowing down everyone else, including your own staff.
Guest wifi in hotels and venues
In hospitality, the guest network is part of the product and has to cope with a full house, not an average evening. How guest and business traffic are kept apart, and why payments need a path of their own, is covered in Guest wifi and payments in hospitality.
Where our work stops
This is an explanation, not legal advice: what you may do with guest email addresses or phone numbers under UK GDPR and the rules on electronic marketing is a question for your data protection adviser. If guests pay for access, the payment is handled by your payment provider; we are not a payment provider. We design, install and manage business wifi, including the separate guest network and, where you want one, the portal in front of it: see Business wifi, Wifi as a service and Managed network. We also advise on, arrange and monitor the business internet connection, see Business internet; the operator’s network outside the building belongs to the operator.
What it connects to
These pages cover the neighbouring part of the same environment.
Questions we get about this
The ones that come up most, answered briefly.
What is a captive portal?
The web page a guest sees before a wifi network gives them internet access. They accept the terms, enter a code or register, and the network then lets their device through for a set time.
Why does the captive portal page not appear?
Devices detect a portal by requesting a test address straight after connecting. A VPN, a browser that opens an encrypted page first, or a cached result can stop that from working. Opening any plain web address usually brings up the login page.
Is a captive portal secure?
It controls who gets on, but it does not encrypt traffic or separate guests from your own network. Encryption needs WPA2, WPA3 or Enhanced Open, and separation needs a guest network of its own with no route to internal systems.
Do you also handle guest payments or the data protection side?
No. We are not a payment provider and not data protection advisers. Payments for access go through your payment provider, and what you may do with guest details is a question for your data protection adviser. We design, install and manage the wifi and the guest network.
Curious what we would take over?
In a thirty-minute conversation we go through your current IT landscape and tell you honestly whether managed IT suits your situation.
Practical IT knowledge in your inbox
New guides on management, security and the workplace, written by the people doing the work. No sales talk, and you can unsubscribe in one click.