Configuration Guide Configuring Web Authentication
Configuring the WeChat Webauth URL
By default, no WeChat Webauth URL is configured.
Run the service-url {url-string } command in template configuration mode to configure the WeChat Webauth URL.
The URL address is used for the communication between the NAS and portal server.
Configuring the IP Address of the NAS
By default, the IP address of the NAS is not configured.
Run the nas-ip command in template configuration mode to configure the IP address of the NAS.
Ensure that the configured IP address is accessible by users and must not be configured as a straight-through address.
Configuring the Portal Communication Key
By default, no encryption key is configured.
Run the key {key-string} command in template configuration mode to configure an encryption key used for communicating
with the portal server.
The encryption key is used to encrypt user authentication information and must be consistent with the key configured on the
portal server.
Enabling Web Authentication
By default, Web authentication is disabled.
Run the web-auth portal { wechat | template-name wechat } command in WLAN security configuration mode and webauth
command to enable Web authentication control on the STA-connected port.
After Web authentication is enabled, the unauthenticated STAs connecting to the port will be redirected to a one-click
Internet access page provided by the portal server, and the unauthenticated PCs connecting to the port will be redirected to a
QR code page.
Enabling the Single Escape Function
By default, the escape function is disabled.
Run the escape interval seconds online-time minutes command in template configuration mode to enable the escape
function.
With the escape function, the NAS starts a timer when receiving a blacklist from an STA. (The interval of the timer is specified
by the interval seconds parameter.) If the NAS does not receive a login authorization request from the STA when the timer
times out, the NAS lets the STA escape and permits the corresponding entry to pass. The escape duration is specified by the
online-time minutes parameter.
Enabling the Collective Escape Function
By default, the collective escape function is disabled.