Captive Portal¶
Menu: Network > Interfaces > (interface) > Security mode: Captive Portal
The captive portal requires users on an interface to sign in before they can use the network. It is enabled per interface.
Settings¶
- Portal type: local (built-in login page) or external.
- User access: allow all users, or restrict to selected user groups (local, LDAP or RADIUS).
- After sign-in: redirect to the originally requested page or to a fixed URL.
- Page text: title, message and disclaimer of the built-in page.
- Timeouts: idle and hard timeout, concurrent logins.
- HTTPS login page with a selectable certificate.
- Exemptions: sources, destinations and services that bypass the portal.
Behaviour¶
- Works for IPv4 and IPv6. All addresses of a device are authorised together.
- Unauthenticated web requests are redirected to the login page; other traffic is rejected. DNS and management access remain available.
- Operating-system portal detection is supported, as is the captive portal API (RFC 8908) announced via DHCP option 114.
- Signed-in users are known to user-based policies.
Limits¶
The portal is available on non-WAN interfaces with a static IPv4 address. Only the text of the built-in page can be changed.