Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
technical:ppsk-user-reg [2024/07/09 14:45] – system | technical:ppsk-user-reg [2024/07/09 19:46] (current) – system | ||
---|---|---|---|
Line 8: | Line 8: | ||
* RADIUSdesk enables the fast onboarding of new users in a PPSK enabled network. | * RADIUSdesk enables the fast onboarding of new users in a PPSK enabled network. | ||
* The onboarding process consists of the following steps | * The onboarding process consists of the following steps | ||
- | - The user connects to an SSID that has PPSK enabled, using the shared key used for onboarding. | + | - The user connects to an SSID that has PPSK enabled |
- | - The user is shown a landing page on the captive portal where they can register and select their PPSK. | + | - The user is shown a landing page on the captive portal where they can register and select their own PPSK. |
- | - The user disconnects and reconnects with their own PPSK to gain full internet | + | - The user disconnects and reconnects with their own PPSK to gain full Internet |
- | * This page describes | + | * This page describes the most important points you need to consider in order to achieve a functioning setup. |
----- | ----- | ||
===== Planning the VLANs ===== | ===== Planning the VLANs ===== | ||
- | * The PPSK solution in RADIUSdesk | + | * With the PPSK solution in RADIUSdesk, you must specify the VLANs that you want to use. |
* They are connected to a realm. | * They are connected to a realm. | ||
- | * In the screenshot below you can see that we have specified VLAN 5 and also VLAN 100-110. | + | * On the screenshot below you can see that we have specified VLAN 5 and also VLAN 100-110. |
* We will use VLAN 5 for the Captive Portal network. | * We will use VLAN 5 for the Captive Portal network. | ||
+ | <panel type=" | ||
+ | {{: | ||
+ | </ | ||
+ | ----- | ||
===== The onboarding user ===== | ===== The onboarding user ===== | ||
* We create an onboarding user with a PPSK that is easy to remember. | * We create an onboarding user with a PPSK that is easy to remember. | ||
- | * This will be shared | + | * This is given to users who want to register |
- | * The onboarding user is also assigned the VLAN we use for the Captive Portal network. | + | * The onboarding user is also assigned the VLAN that we use for the Captive Portal network |
- | | + | <panel type=" |
+ | {{: | ||
+ | </ | ||
- | * For user registration, | ||
- | * The captive portal setup requires a few key items to be in place to serve as a user on-boarding setup. | ||
- | * This includes the following: | ||
- | * A predetermined pre-shared key to connect with that will put the user in the network with the captive portal. | ||
- | * A captive portal that will serve a landing page to the user who wants to register. | ||
- | * A landing page that will allow the user to register. | ||
- | * We use a pre-defined pre-shared key (PSK) that dynamically moves the user into the network with the captive portal. | ||
- | * You can decide what role this captive portal should fulfil. | ||
- | * You can use the captive portal in the traditional way, i.e. users can connect via the portal to gain internet access and have the option to register. The register dialog can include an option for the user to specify their own Private Preshared Key (PPSK). | ||
- | * Alternatively, | ||
- | * In both cases, we must first activate user registration in the RADIUSdesk login page applet. | ||
----- | ----- | ||
+ | ===== The Captive Portal ===== | ||
+ | * We need to change the default captive portal created by the RADIUSdesk wizard. | ||
+ | * We will connect it to VLAN 5. | ||
+ | * To have VLAN 5 as a selectable option, we need to add it to the AP profile or mesh network. | ||
+ | <panel type=" | ||
+ | {{: | ||
+ | </ | ||
- | ===== Highlights ===== | + | <alert type=" |
+ | * The VLANs that we define here are separate from the VLANs that are connected to the realm (RADIUS side) | ||
+ | * The VLANs we define here can be used internally in a mesh network or access point without the need for a VLAN-enabled switch. | ||
+ | * If you have a larger setup where the VLANs and their NAT/DHCP networks are provided by another vendor, you only need VLAN 5 for the Captive Portal | ||
+ | </ | ||
+ | |||
+ | * The captive portal also connects to the SSID for which PPSK with RADIUS encryption is enabled. | ||
+ | * This is only a formality. The actual network to which a client is assigned is determined by RADIUS. | ||
+ | <panel type=" | ||
+ | {{: | ||
+ | </ | ||
+ | |||
+ | ------ | ||
+ | ===== Enable user registration ===== | ||
+ | * User registration is enabled under the settings of the login page used by the captive portal. | ||
+ | * We have an option called **Require Private PSK (PPSK)** which also needs to be enabled. | ||
+ | * Then there are three options for VLAN assignment during registration. | ||
+ | - **No VLAN** - No VLAN will be assigned to the newly created user. | ||
+ | - **Preselect** - Select one of the VLANs which are associated with the realm which you specified the new user should belong to. This is useful if you want to perform some checks after registration before assigning the final VLAN. | ||
+ | - **Next Available** - The system selects the next available VLAN from the pool of VLANs of the realm to which the new user is to belong. If the pool is exhausted, the registration fails with a corresponding message. | ||
+ | <panel type=" | ||
+ | {{: | ||
+ | </ | ||
+ | |||
+ | ----- | ||
+ | ===== The landing page ===== | ||
+ | * There are two options for the landing page. | ||
+ | - You can use the default Captive Portal login page which you have enabled user registration and checked **Require Private PSK (PPSK)**. | ||
+ | - You can use the simplified Registration Only page (you still need to enable user registration) | ||
+ | * The URL for the default Captive Portal login page is as follows: https:// | ||
+ | * The URL for the simplified register only page is as follows: https:// | ||
+ | * For the simplified registration only page you must also append the ID of the login page, e.g. **? | ||
+ | * To determine the ID of the login page simply click on the **Preview** button in the Login Page applet. | ||
+ | * This opens a preview of the standard login page with the dynamic_id in the query string. | ||
+ | * You can then use this value and update the settings of the captive portal. | ||
+ | * See screenshot below: | ||
+ | <panel type=" | ||
+ | {{: | ||
+ | </ | ||
+ | |||
+ | ----- | ||
+ | ====== Highlights ====== | ||
+ | * The following video summarises all the points we have covered on this page: | ||
<panel type=" | <panel type=" | ||
{{ : | {{ : |