Configuring an External Splash Page for Captive Portal

Captive Portal allows to redirect the splash page to an external web server. The article will show you how to configure the external splash page. This setup requires you have HTML programming skills.

The following is the time sequence diagram to show the flow of a web client to authenticate through Captive Portal with External Splash Page.

External Splash Page Flowchart

The following is the attributes which will be included in the HTTP message

Attributes included in Step 2 HTTP 200 OK with redirection and Step 3 HTTPS Request to external web server :

Attributes included in Step 4 HTTP 200 OK and Step 5 HTTPS Request to captive-portal.peplink.com

Attributes included in Step 7

Here is an example of the external splash page in php lauguage.

4 Likes

hi @Alan

Are you able to advise if the “External Captive Portal for Advertising Servers” would work with the following:

Parameters to be appended:

2 Likes

@rocknolds, may I know the “External Captive Portal for Advertising Servers” here is referring to the customer’s advertising servers?

The parameters you provided are the fields required by the customer’s server?

1 Like

Hi @TK_Liew

The server can be thought of as just a webpage that is whitelisted.

The details appended to the URL are then processed by the server when the user is directed there.

The webpage then returns an authorised message in a hidden form or otherwise to notify the AP to let the user have full access.

1 Like

Can I confirm these are the parameters you need to collect once a Wifi client successful redirected and signed into the external Captive Portal? You need us to customized our device’s Captive Portal, right?

1 Like

Hi, can I have a sample with time qouta?

Hello @Hououin_Kyouma,
Here is an example of the Time Quota we use with one of our customers.


Shown is what the users see every 60 minutes

Our client requires the interruption so to encourage safety at there locations (this is one of many around the country operating this way).
Happy to Help,
Marcus :slight_smile:

2 Likes

What about for custom captive portal? (with time limit sample code).

Hi @ mldowling Is there a way to manipulate the time qouta “time_left” via code?

Hi! I would like to know how to create guest login on external captive portal. Where can I compare my user&pass and how can I get the code 401, auth_msg Invalid user&pass?