Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| technical:pf-intro [2024/02/29 09:29] – created system | technical:pf-intro [2024/02/29 10:44] (current) – system | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ====== Introduction to pfSense ====== | ====== Introduction to pfSense ====== | ||
| + | * We will configure the Captive Portal available in pfSense to integrate with RADIUSdesk and use RADIUS for authentication. | ||
| + | * To do this, we will start with the simplest possible configuration, | ||
| + | |||
| + | ===== Our setup ===== | ||
| + | * As already mentioned, we have a very simple pfSense VM that acts as a router. | ||
| + | * There is a WAN port that is connected to the network with internet access. | ||
| + | * There is a LAN port where we want to activate the captive portal. | ||
| + | <alert type=" | ||
| + | To access pfSense via the WAN port, you can temporarily disable the firewall with the following command | ||
| + | <code sh> | ||
| + | #Disable packet filter | ||
| + | pfctl -d | ||
| + | # Enable packet filter | ||
| + | pfctl -e | ||
| + | </ | ||
| + | </ | ||
| + | * Here you can find instructions on how to permanently open HTTP access to the WAN port: https:// | ||
| + | * You will probably also need to add a similar rule for HTTPS. | ||
| + | |||
| + | |||
| + | ===== System -> User Manager ===== | ||
| + | * pfSense groups | ||
| + | * You can specify multiple RADIUS servers under the **Authentication Servers** applet. | ||
| + | * We add our RADIUSdesk server here and select the **PAP** protocol. | ||
| + | <panel type=" | ||
| + | {{: | ||
| + | </ | ||
| + | * Now everything is ready for the configuration of the captive portal. | ||
| + | <panel type=" | ||
| + | {{: | ||
| + | </ | ||
| + | |||
| + | ===== Add Captive Portal ===== | ||
| + | * Go to the **Services** -> **Captive Portal** menu entry. | ||
| + | * Select **Add** to add a new zone. | ||
| + | <panel type=" | ||
| + | {{: | ||
| + | </ | ||
| + | |||
| + | |||