Since the launch of Pfsense 2.3, there has been a new captive portal login feature included which allows you to allow specific users access to your network while restricting other users from accessing your network. In this article, we will show you how to set up and use this feature on your Pfsense 2.3 router.
Install Pfsense
To set up a captive portal with Pfsense, you first need to install the software. You can download it from the Pfsense website or from your favorite software repository.
Once you have installed Pfsense, you will need to configure it. First, open the configuration file pf.conf in your text editor of choice. You will see a section called “services”. Add the following line to this section:
captiveportal "192.168.1.1"
This line indicates that you want Pfsense to act as a captive portal for client computers that are connected to IP address 192.168.1.1.
Next, you need to create a web page for your captive portal. This page will be used to login and access the various features of your server. To create this page, open a web browser on a computer that is running Pfsense and enter the following address:
http://192.168.1.1/ppp/login
You will be prompted for the username and password of the user account that you want to allow access to your server through your captive portal. After you have entered these details, you
Configure Pfsense
To configure Pfsense to work with a captive portal, you first need to set up the firewall. You can do this by opening the firewall configuration page and clicking on the “Firewall” tab. On this page, you will need to set up the firewall rules for your network.
Next, you need to configure Pfsense to act as a captive portal. To do this, open the “Portal Configuration” page and click on the “Captive Portal” tab. On this page, you will need to create a new captive portal configuration. You will need to provide the name of your site, the URL of your site, and the username and password for your site. You will also need to select which devices should be allowed access to your site. Finally, you will need to click on the “Save” button to save your configuration.
Now that Pfsense is configured, you can start adding users to the system. To do this, open the “Users” page and click on the “Add User” button. You will need to enter the user name and password for the user account that you want to add into Pfsense
Login to your Pfsense Captive Portal
To login to your Pfsense Captive Portal, you will first need to open the web-interface. To do this, you can either open a browser on your computer and type in the IP address of your Pfsense device or you can use the Pfsense GUI.
Once you have opened the web-interface, you will need to type in the username and password that was assigned when you created your Pfsense Captive Portal. Once you have logged in, you will be able to access all of the features of your Captive Portal.
Conclusion
In this article, we will show you how to login to your Pfsense captive portal using the username and password that you configured when you set it up. If you have not yet done so, I recommend reading their guide on setting up a Pfsense captive portal before proceeding.