A Captive Portal allows access for specific authorized users, or through a temporary configurable voucher (usage time, allowed speed, …).
Identify one or more Interfaces to have the Captive Portal. These are usually LAN or a VLAN.
Here is instructions against the GUEST VLAN.
Configure the VLAN on the desired interface.
Add an interface with the VLAN just created.
An interface with the initial name OPT will be created. Click on it to enable and configure it.
Configure DHCP.
Create and enable the Captive Portal.
At this point, on the Configuration tab, select the Interfaces on which to enable the captive portal. In our example we will select GUEST.
Further down the page, select the type of authentication. In our example we will use local users at the firewall.
From the Vouchers tab, create all the vouchers that are wanted with the Add button.
Export the vouchers by clicking on the X icon.
An example of an exported file:
If someone connects on GUEST, this will send them to the Captive Portal page; asking them to authenticate a local user or enter a voucher.
If we go to the active user tab we will see the active vouchers, with the possibility to see detailed information by hovering over the username.