Creating a captive portal
This recipe describes how to create a captive portal with pfSense.
Getting ready
A captive portal is a web page that is displayed before a user is allowed to browse the web. This is most often seen at commercial Wi-Fi hotspots where you must pay for service before you are allowed to surf the web. In other scenarios, captive portals are used for authentication or end-user agreements.
During this recipe, we will configure pfSense to display an authentication captive portal before users are allowed to surf the web from our DMZ.
How to do it...
- Browse to Services | Captive Portal.
- From the Captive portal tab, click Enable captive portal.
- Choose Interfaces; we'll select our DMZ as our interface.
- Specify an Idle timeout; we'll say ...
Get pfSense 2 Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.