Skip to content

Huawei AC / FAT AP

Prerequisites

Huawei AC:

This guide assumes that you are using an external DHCP server for your access points as well as Access Controller and that your access point is already managed by the Access controller.

Huawei FAT AP:

This guide is created with an AP working as a Leader in bridge mode.

Compatibility

Social WiFi has been tested and proven to work for this setup, but should work with any other combination that supports the firmware listed below.

Access Point used for this guide: Huawei AirEngine5761-11

Access Point version number: V200R020C10SPC100

Controller used for this guide: Huawei AC 6005-8-PWR

Controller version number: V200R019C00SPC500

Walled garden

Go to Configuration -> Security -> ACL.

2024-03-11_16-24.png

Now, from the tabs at the top select Domain Name Configuration and press Create.

2024-03-11_16-26.png

Add all of the domains below one at the time and set the Domain name ID respectively starting from 1.

Click OK to confirm.

Mandatory

sw-login.com
login.socialwifi.com

Facebook remarketing pixel

connect.facebook.net
*.facebook.com

Google remarketing tag

www.googletagmanager.com
www.googleadservices.com
googleads.g.doubleclick.net

YouTube widget on login pages

*.youtube.com
*.ytimg.com
*.googlevideo.com
yt3.ggpht.com

Facebook login

facebook.com
*.fbcdn.net

X (Twitter) login

api.twitter.com
twitter.com
api.x.com
x.com
*.twimg.com

LinkedIn login

*.licdn.com
linkedin.com
*.linkedin.com

2024-03-11_16-32.png

Next you need to switch to the User ACL Settings tab and click Create.

2024-03-11_16-46.png

Configure as follows:

ACL namesocialwifi
ACL number6030

Click OK to confirm.

Now, proceed with adding all the rules added before in the “Domain Name Configuration” by clicking on Add Rule and adding one at the time and set the Rule ID” respectively starting from 1.

2024-03-11_16-46_2.png

Add each rule as follows:

Rule ID*“Rule ID” starting from 1*
Protocol typeIP
Dest domain name*Choose the domain from the drop down menu respectively*

Click OK to confirm after selecting the rule (screenshot below).

Click OK to confirm.

2024-03-11_16-50_1.png

Add all the domains needed for your Social WiFi login page.

You also must add two additional rules in this step to make captive portal login possible, configure as follows:

2024-03-13_10-40.png

Rule IDyour last “Rule ID” + 1
ActionPermit
Protocol typeTCP(6)
Dest IPyour controller IP address
Wildcard0.0.0.0
Dest port number8000

Click OK to confirm.

Rule ID*your last “Rule ID” + 1*
ActionPermit
Protocol typeUDP(17)
Dest IP8.8.8.8
Wildcard1.1.1.1
Dest port number53

Click OK to confirm.

2024-03-13_10-42_1.png

Captive Portal configuration

Now, switch tabs to Configuration -> Security -> AAA. From the menu at the top, select External Portal and configure as follows:

HTTP ProtocolEnabled
HTTP interpretation modeHTTP-based
Port number for listening to HTTP packets8000 (default)

2024-03-11_16-57.png

Next, under the Portal “Authentication Server” list, click Create. Configure as follows:

Server namesocialwifi
Server IP35.205.62.147 (click ”+” to add the server)
Protocol typeHTTP
Shared keyShared key is available in Access Points tab of the Social WiFi Panel
Packet port number50100
URLhttp://login.socialwifi.com

2024-03-13_12-58.png

Scroll down to the “URL Option Settings” and configure as follows.



For the Huawei AC:

AC-IP keyword/AC-IPAC-IP / *see the screenshot below
User access URL keywordredirect-url
User IP address keyworduser-ip
AP-MAC keywordAP-MAC
User MAC keyworduser-mac
MAC address formatNormal
Separator:

2025-01-14_15-50.png

2025-01-14_15-36.png

For the FAT AP:

AP-IP keyword/AC-IPAC-IP / *see the screenshot below
User access URL keywordredirect-url
User IP address keyworduser-ip
AP-MAC keywordAP-MAC
User MAC keyworduser-mac
MAC address formatNormal
Separator:

2025-01-14_15-50_1.png

2025-01-14_14-39.png

Leave the “Parameter Parsing Configuration” config as default.

Now, go to the “RADIUS” tab and click on Create to add a new RADIUS server.

2024-03-11_16-57_1.png

Configure like this:

Profile namesocialwifi
ModeActive/Standby mode
Profile default shared keyShared key is available in Access Points tab of the Social WiFi Panel

Then, click on Create Server.

2024-03-11_17-00.png

IP addressIPv4 | 35.205.62.147
Shared keyShared key is available in Access Points tab of the Social WiFi Panel
AuthenticationEnabled
Port number31812
Weight1
Source IP address of outgoing packetsLoopback
AccountingEnabled
Port number31813
Weight1
Source IP address of outgoing packetsLoopback

Click OK to confirm.

2024-03-11_17-02_1.png

Click OK to confirm.

Make sure that the server you’ve created appears on the list:

2024-03-12_17-42.png

SSID configuration

Go to Configuration -> Config Wizard -> Wireless Service.

2024-03-12_17-08.png

Click Create and go through the wizard, set the SSID name in the first step and click Next to access the second panel “2. Security Authentication”.

2024-03-12_17-09.png

For “Security Settings” select Portal (applicable to enterprise networks).

In the “External Portal Server Configuration” and “External RADIUS Server Configuration” under “Server template name” select the previously created templates from the dropdown menu ”” (refer to the images below).

2024-03-13_13-45.png

Click OK to confirm.

Click OK to confirm.

Click Next at the bottom of the screen.

2024-03-12_17-15.png

Now, under the Binding the AP group, from the dropdown menu ”” select your AP group (this example uses “default” group.

2024-03-12_17-15_1.png

Click Finish to save the configuration.

Next, go to Configuration -> AP Config -> Profile.

2024-03-12_17-46.png

From the menu on the left, go to Wireless Service -> VAP Profile -> *your SSID name* -> Authentication Profile -> Authentication-free Rule Profile.

From “Authentication-free Rule Profile” dropdown menu, select the “default_free_rule” profile.

2024-03-12_17-52.png

Configure as follows:

Control modeACL
ACL number6030

2024-03-12_17-53_1.png

Click Apply.

2024-03-13_14-00.png

Add the access points to Social WiFi panel

The setup of the controller is now finished. The last step is to add all access points to the Social WiFi platform.

Go to Ap Config -> AP Config -> AP Info -> AP List in the menu on the left.

2024-03-13_14-04.png

Now, switch to Social WiFi Panel, go to Access Points tab, click the Add button and paste the MAC addresses of all of your Access Points controller by the Huawei AC. Click Create.

Test the solution

Connect with the WiFi network. You should see a login page. Go through the login process and, once finished, you should have internet access. You should see first connections and authorizations in the Social WiFi Panel’s statistics section.