Creating a captive portal with voucher authentication
In this recipe, we will create a captive portal with authentication through pfSense's voucher system. Vouchers are an ideal form of authentication in scenarios where you want to provide access to one of your networks on a temporary basis. Setting up access via vouchers involves generating a series of voucher codes that are then issued to users. These vouchers are good for a fixed period of time (you can define this period). You can also track network usage by keeping track of which voucher codes are given to certain users.
How to do it...
- Navigate to
Services
|Captive Portal
. - Click on the
Add
button. - Enter a name into the
Zone name
edit box and a brief description into theZone description
edit box. - When done, click on the
Save and Continue
button. - When the page loads, it should default to the
Configuration
tab. Check theEnable Captive Portal
checkbox to display other captive portal configuration options. - In the
Interfaces
list box, select...