User Tools

Site Tools


pfsense:captive_portal:configure_captive_portal

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pfsense:captive_portal:configure_captive_portal [2020/11/30 10:37] peterpfsense:captive_portal:configure_captive_portal [2023/05/21 11:26] (current) peter
Line 8: Line 8:
 ===== Configure ===== ===== Configure =====
  
-Identify one or more network cards on which the Captive Portal will be controlled.  These can be the normal LAN or a VLAN.  +Identify one or more Interfaces to have the Captive Portal.  These are usually LAN or a VLAN.
  
-Here is instructions for a VLAN.+Here is instructions against the GUEST VLAN.
  
-  * Navigate to **Interface -> Assignement -> VLAN**.+  * Navigate to **Interface -> Assignment -> VLAN**.
   * Click **Add**.   * Click **Add**.
  
 +Configure the VLAN on the desired interface.
  
-Configure the VLAn on the desired interface. +  * Parent Interface:  **em1**. 
- +  * VLAN Tag:  **99**.
-  * Parent Interface:  **igb1**. +
-  * VLAN Tag:  **25**.+
   * VLAN Priority:  **0**.  The default.   * VLAN Priority:  **0**.  The default.
-  * Description:  **VLAN 25**.+  * Description:  **GUEST**. 
 + 
 +{{:pfsense:captive_portal:pfsense_-_interfaces_-_vlan_-_guest.png?800|}}
  
  
 Add an interface with the VLAN just created. Add an interface with the VLAN just created.
  
-  * Navigate to the **Interfaces -> Assignements**.+  * Navigate to the **Interfaces -> Assignments**.
   * Select in the drop down menu of **Available network ports** the newly created VLAN then click on **Add**.   * Select in the drop down menu of **Available network ports** the newly created VLAN then click on **Add**.
    
Line 32: Line 33:
  
   * Enable:  **Checked**.   * Enable:  **Checked**.
-  * Description:  **VLAN 25**.+  * Description:  **GUEST**.
   * IPv4 Configuration Type:  **Static IPv4**.   * IPv4 Configuration Type:  **Static IPv4**.
  
Line 41: Line 42:
   * Select the tab of the newly added Interface and configure DHCP as you wish.   * Select the tab of the newly added Interface and configure DHCP as you wish.
   * Enable:  **Checked**.   * Enable:  **Checked**.
-  * Available Range:  **192.168.25.100 - 192.168.25.200**.+  * Available Range:  **192.168.99.100 - 192.168.99.199**.
  
  
 Create and enable the Captive Portal. Create and enable the Captive Portal.
  
-  * Navigate to **Service -> Captive Portal**.+  * Navigate to **Services -> Captive Portal**.
   * Click **Add**.   * Click **Add**.
-  * Enable the service by giving it a name, such as "Guest Voucher"+  * Enable the service by giving it a zone name, such as "Guest Voucher"
   * Click on **Save & Continue**.   * Click on **Save & Continue**.
  
Line 54: Line 55:
   * Description:  **Voucher per Guest**.   * Description:  **Voucher per Guest**.
  
-At this point, on the **Configuration** tab, select the network or networks on which to enable the captive portal.  In our example we will select VLAN25.+At this point, on the **Configuration** tab, select the Interfaces on which to enable the captive portal.  In our example we will select GUEST.
  
-  * Interfaces:  **VLAN25**.+  * Interfaces:  **GUEST**.
  
 Further down the page, select the type of authentication.  In our example we will use local users at the firewall. Further down the page, select the type of authentication.  In our example we will use local users at the firewall.
Line 79: Line 80:
  
  
-If someone connects on VLAN 25, this will send them to the Captive Portal page; asking them to authenticate a local user or enter a voucher.+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.
  
 {{:pfsense:captive_portal:pfsense_-_captive_portal_-_login.png?800|}} {{:pfsense:captive_portal:pfsense_-_captive_portal_-_login.png?800|}}
  
 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. 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.
 +
 +----
 +
 +===== References =====
 +
 +https://www.firewallhardware.it/en/pfsense-2-4-x-captive-portal-configuration/
 +
  
pfsense/captive_portal/configure_captive_portal.1606732670.txt.gz · Last modified: 2020/11/30 10:37 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki