Configuration Guide Configuring Web Authentication
Configure the plaintext IP address and MAC address of an STA,IP address of the NAS, SSID, URL,
and other parameters as the redirection URL parameters.
Ruijie(config.tmplt.eportalv2)# fmt custom encry none user-ip userip user-mac usermac mac-format
none nas-ip nasip ssid ssid url firstu
Check whether the configuration is successful.
Ruijie(config)#show running-config
…
fmt custom encry none user-ip userip user-mac usermac mac-format none nas-ip nasip ssid ssid url
firsturl
1.4.15 Configuring the Redirection HTTP Port
Configuration Effect
When an STA accesses network resources (for example, the user accesses the Internet using a browser), the STA
sends HTTP packets. The NAS or convergence device intercepts these HTTP packets to determine whether the STA is
accessing network resources. If the NAS or convergence device detects that the STA is not authenticated, it prevents
the STA from accessing network resources and displays an authentication page to the STA. By default, the NAS
intercepts the HTTP packets that STAs send to port 80 to determine whether STAs are accessing network resources.
After a redirection HTTP port is configured, the HTTP requests that STAs send to the specified destination port can be
redirected.
Notes
The commonly used management ports on the NAS or convergence device, such as ports 22, 23 and 53, and ports
reserved by the system are not allowed to be configured as the redirection port. All ports except port 80 with numbers
smaller than 1000 are seldom used by the HTTP protocol. To avoid a conflict with the well-known TCP port, do not
configure a port with a small number as the redirection port unless necessary.
Configuration Steps
Optional.
When you configure automatic client acquisition, if you need to enable the NAS to intercept the HTTP packets that
STAs send to the specified destination port, configure a redirection HTTP port.
Verification
Configure an interception port.
Open the browser of a PC and access the Internet through the port without performing authentication.
Check whether the access requests are redirected to an authentication page.