Compared with an external Portal server, a built-in Portal server is easy to use, cost-effective, and easy to maintain. When configuring the built-in Portal server function, you need to specify the IP address of the built-in Portal server and enable the built-in Portal server function globally.
If the time on a client differs from that on the built-in Portal server, the client cannot pass authentication or cannot go offline after passing authentication. Therefore, ensure that the time zone and time on the device are correct when configuring the built-in Portal server function.
VPN users do not support the built-in Portal server function.
The system view is displayed.
An IP address is configured for the built-in Portal server.
By default, no IP address is configured for the built-in Portal server.
The IP address of the built-in Portal server is the IP address of a Layer 3 interface that has a reachable route to the user.
The built-in Portal server function is enabled globally.
By default, the built-in Portal server function is disabled globally.
Ensure that an SSL policy exists and the digital certificate has been successfully loaded.
The authentication mode of the built-in Portal server is configured.
By default, the CHAP authentication mode is used.
Run authentication https-redirect enable
HTTPS redirection for Portal or 802.1X authentication is enabled.
By default, HTTPS redirection for wireless Portal or 802.1X authentication is enabled, and HTTPS redirection for wired Portal or 802.1X authentication is disabled.
To enable HTTPS redirection for wired Portal authentication, run the authentication https-redirect enable command and then the portal https-redirect wired enable command.
The function of inserting a JavaScript file during Portal redirection is enabled.
By default, the function of inserting a JavaScript file during Portal redirection is disabled.