Huawei controller

Sample configuration was done on Huawei controller AC6800V.

Connecting

Log in to your Huawei Controller, go to Configuration – Security – AAA page.

In Portal Server Configuration – External portal Interoperation Protocol section
create or edit portal server and configure port 2000 as on the image.


Go to the Configuration tab, click Security > AAA > External Portal Server > Modify Authentication Server and configure server IP address of the captive portal :

Americas Server
IP: 13.92.228.228
Shared Key: contact our office
URL: app.antamedia.com

Europe & Global Server
IP: 109.245.64.94
Shared Key: contact our office
URL: app.antamedia.net

Sample URL configuration result:

https://wifihotspoti.io/login?ac-ip=&ac-mac=&ap-ip=AP-IP&ap-mac=AP-MAC&redirect-url=redirect-url&user-mac=user-mac&user-ipaddress=user-ipaddress

In URL Option Settings section configure following:

AC-IP keyword/AC-IP: ac-ipENABLED
AC-MAC keyword/AC-MAC: ac-macENABLED
System name heyword/System name: DISABLED
AP-IP keyword: ap-ipENABLED
User access URL keyword: redirect-urlENABLED
User IP address keyword: user-ipaddressENABLED
Login URL keyword/Login URL: DISABLED
AP-MAC keyword: ap-macENABLED
User MAC jkeyword: user-macENABLED
SSID keyword:DISABLED


Configure Parameter Parsing Configuration as below.

Protocol type: HTTP
User name keyword: username
Original URL keyword: initurls
Login success response: Redirect to the specified…
Login failure response: Return to the login page
Password encription mode: Non-encryption
Password keyword: password


Click Advanced link and set:

Command keyword: cmd
String identifying the user login command: login
String identifying the user logout command: logout
User MAC address keyword: macaddress
User IP address keyword: ipaddress
Logout success response: select Display a message, LogoutSuccess!
Logout failure response: select Display a message, LogoutFail!


On the Configuration – Security – ACL – Domain Name Configuration
add cdnhotspot.azureedge.net

Primary RADIUS Server: 13.92.228.228
Authentication port: 1812
Accounting port: 1813

Secondary RADIUS Server: 109.245.64.94
Authentication port: 1882
Accounting port: 1883

Shared Secret: contact our office

MAC address format in Calling-Station-Id: xx-xx-xx-xx-xx-xx
MAC address format in Called-Station-Id: xx-xx-xx-xx-xx-xx
--------------------------

If you get message Hotspot Not Registered and Hotspot MAC address looks like 79C3450D2E10, be sure and in Delimiter add