Configuration Guide Configuring Web Authentication
Ruijie(config.tmplt.wechat)#nas-ip 192.168.197.104
Ruijie(config.tmplt.wechat)#version 1.0
Ruijie(config.tmplt.wechat)#exit
Ruijie(config)# wlansec 1
Ruijie(config-wlansec)# web-auth portal wechat
Ruijie(config-wlansec)# webauth
Check whether Web authentication is configured successfully.
Ruijie(config)#show running-config
…
ip name-server 192.168.58.110
…
web-auth template wechat
ip 192.168.197.79
service-url wmc.ruijie.com.cn
key ruijie
nas-ip 192.168.197.104
!…
wlansec 1
web-auth portal wechat
webauth
!
Common Errors
The key used for the communication between the portal server and NAS is configured incorrectly, or encryption is
configured only on the portal server or NAS, causing abnormal authentication.
The IP address of the NAS is configured as a straight-through address, and authentication packets cannot be received,
causing an authentication failure.
The IP address of the domain name server is not configured, causing a whitelist resolution failure. The IP address of the
WeChat server is not permitted to pass.