Username & Password Captive Portal

The username & password Captive Portal is a type of Captive Portal that allows the users to login to the portal with a username & password. 

Ray allows the users to create the username & password within the system itself. 

Ray also allows connecting to external username & password sources like LDAP, AD, etc. 

Follow the below steps to create a Username & Password Captive Portal.

Step1. Click on the Captive Portal menu.
Step2. Go to Portals and click on the +Create Portals

Step3. On clicking the Create Portal tab, a pop menu will come up requesting for an authentication method, We shall select none for this article.

Step4. On the Authentication tab, select Authentication type as Username and Password.


Step5. On the SELECT TEMPLATE(S)  tab, choose a business category from the available options, In this article, we chose Cafe as the Business Category.

Step6. After Selecting the Business Category. Leave the OTP Config as empty. 

Authentication Type. 

There are 2 types of Authentication that Ray supports.

Internal Authentication. 

    In this case, the authentication credentials are stored in the Ray system itself. 

    In the case of username & password, the user is created in the system itself. 

External Authentication

    In this case, the authentication credentials are outside the Ray system. 

    Examples of such are LDAP or Microsoft AD etc. 

    Ray connects to such services via a RADIUS connection.

For this example, select Internal Authentication.

Press Save.

Step7. Input the details. 

Welcome Message: The message to be displayed on the Title of the Portal. Press the Save (Tick) icon.

Redirect URL. The URL is to be redirected upon successful login. Press the Save (Tick) icon.

Background Image. You can change the default background image to the background image of your liking. 

Logo. The business logo/icon can be updated.

Press Close.

Step8. You can preview the page by clicking the link. 

Step9. Creating the Captive Portal Users

             Go To Templates -> Captive Portal Users

             Click Create User

This is the screen to create the users for the captive portal. 

There are 3 options to do so. 

1. Manually create a username & Password. You can also bind it to a specific MAC Address if you want to. 

2. Bulk Upload username & Password from a file. 

3. Have the Ray system generate usernames & passwords. 

Step10. Select Portal & Groups 

The user has to be bound to a Captive Portal group. 

Step11. Go to Profiles >> Wlan

Input the below details. 

    Profile Name. Give a proper name to the WLAN profile. 

    Description of the Wlan Profile.

    Definition. From the dropdown, select the Captive Portal. 

    Captive Portal. Select the Captive Portal Template created.

    Plans. Select the Group created.

    Network Interface. By default, the WLAN is Bridged to the WAN Interface.

    Press Submit.

Now you have successfully created the Captive Portal.

If you want to create a Policy like Quota, time, Web-filtering, etc. you can follow the below link

For Creating Policies

Please refer to the below article to create Policies.

After creating the policy kindly map it into the security group.

For Creating a Security Group
Please refer to the below article to create Groups.

After creating the policy kindly map it into the Wlan.

For Creating WLAN
Please refer to the below article to create Groups.


Thank you,

Ray support Team