Click-through
Last updated
Last updated
When captive portal is enabled and authentication type is set to "Click-through", the user is redirected to a splash page and clicks on a link to be granted access to the Internet.
Following figure shows the communication flows and steps for a Click-through captive portal with external splash page server.
A new wireless client tries to connect to a Captive Portal enabled SSID served by an Access Point.
The AP intercepts the request and redirect the user to the external splash page which is served by a external web server configured in SSID's splash page
setting. In addition, an actionurl
parameter is passed to the splash page such that browser can be redirected back to the cloud after submission in splash page.
Splash page content with actionurl
parameter are delivered to browser.
User clicks on the confirmation link or submit button in the splash page and then be redirected to actionurl
to complete the authentication.
In previous Section Step 2, the actionurl parameter is composed of a cloud URL with extra parameters. A https request sample to the splash page could be like this:
The https://yourwebsite.com/splash.html here is the splash page setting customized for corresponding SSID. The details of the actionurl parameters are listed as follows:
Parameter Name
Description
vendor
Should be "EnGenius"
ap_ip
IP address of associated AP
ap_mac
MAC address of associated AP
ap_port
AP service port
client_ip
IP address of the wireless client
client_mac
MAC address of the wireless client
userurl
The URL that user tried to visit before authenticated
mac
Client's MAC address (will be obsolete after 2021)
please use client_mac
called
AP's MAC address (will be obsolete after 2021)
please use ap_mac
nas_id
Network access server identifier is used to notify the source of a RADIUS access request.
Select a network in Org-tree.
Select SSID in the configuring tool menu.
Choose the SSID you want to configure.
switch to Captive Portal
Tab and make sure your Captive Portal is enabled and Authentication Type is set to "Click-through
".
switch to Splash Page
Tab. Select "External Splash Page URL"
.
Enter the URL of your custom splash page (eg, https://yourwebsite.com/splash.html).
Click on "Apply
" button.
The external splash page must be hosted on a web server that will be accessible from the Access Points on your network. The following must be accomplished, but the particular details will depend very much on your web hosting environment.
Setup the Web Server.
Modify the splash page to set form action
as the value of actionurl
passed by cloud. In this way, after the user submit the form, he will be redirected to specific URL and complete the authentication.
Another way to implement the splash page is to have a hyperlink redirect the browser to actionurl
. For Example:
<a href="<?php print $_GET['actionurl'] ?>">For all in one url</a>