WiFiNexa

Home › Setup guides › What is a captive portal?

Guide

What is a captive portal?

The page that opens when you join hotel, café or airport Wi-Fi - what it is, how it works behind the scenes, and how to run one for your own venue.

The short answer

A captive portal is a web page that a Wi-Fi network shows before it lets a device onto the internet. The guest joins the network, the login page opens, and only after the guest accepts the terms, enters a code, pays or signs in does the network let their traffic through.

How a captive portal works

  1. The guest joins the Wi-Fi. The router gives the phone an address but keeps internet access closed.
  2. The phone checks for a portal. iPhones, Android phones, Windows and macOS try to load a known test address in the background. When the network answers with a redirect instead, the phone opens its captive-portal window by itself.
  3. The login page loads. Only a short list of addresses - the walled garden - is open before login: the login page itself, and the payment or sign-in pages it needs.
  4. The guest logs in. The router asks a RADIUS server whether the code, account or payment is valid. The answer includes how long the guest may stay online, how much data they may use and at what speed.
  5. The internet opens. The router lets the device through and keeps sending usage updates, so time and data limits end the session on time.

Types of captive portals

Why businesses use a captive portal

Common problems and fixes

Captive portal hardware and software

The router or access point does the blocking and redirecting; the captive portal software provides the login page, the RADIUS server and the dashboard. Most business routers and access points support an external portal: MikroTik, Ubiquiti UniFi, Cisco Meraki, Aruba, Ruckus, OpenWrt / CoovaChilli and many others.

Setting one up with WiFiNexa

  1. Create a WiFiNexa account (5-day free trial, no card).
  2. Add your router - MikroTik gets an automatic setup script; the other brands follow a short setup guide.
  3. Pick a login page design and the login methods you want: vouchers, card payments, Google, e-mail, SMS or click-through.
  4. Join the Wi-Fi with a phone and test. See the setup guides for each router, or compare captive portal software.

Questions

What is a captive portal in Wi-Fi?

It is the login page a Wi-Fi network shows before it allows internet access. The guest accepts terms, enters a code, pays or signs in, and then the network lets their device through.

Why does my phone show a Wi-Fi login page?

The network uses a captive portal. Your phone detected that the internet is blocked until you log in, so it opened the login page automatically.

Is a captive portal safe?

A captive portal itself is a normal login page. Use networks you trust, look for HTTPS on pages that ask for payment or passwords, and avoid entering sensitive data on unknown open networks.

What is a walled garden?

The short list of websites a guest can reach before logging in, such as the login page itself and the payment provider's pages.

Do I need special hardware for a captive portal?

Usually not. Most business routers and access points - MikroTik, UniFi, Meraki, Aruba, Ruckus and OpenWrt - support an external captive portal and RADIUS.

Related

Try WiFiNexa free for 5 days