Portal authentication configuration example, Network requirements – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 559

Advertising
background image

538

Make sure that the browser of an authentication client permits pop-ups or permits pop-ups from the

access device. Otherwise, the user cannot log off by closing the logon success or online page, and can
only click Cancel to return back to the logon success or online page

Redirecting authenticated users to a specific webpage

To make the device automatically redirect authenticated users to a specified webpage, do the following

in logon.htm and logonSuccess.htm:

1.

In logon.htm, set the target attribute of Form to blank.
See the contents in gray:

<form method=post action=logon.cgi target="blank">

2.

Add the function for page loading pt_init() to logonSucceess.htm.
See the contents in gray:

<html>

<head>

<title>LogonSuccessed</title>

<script type="text/javascript" language="javascript"

src="pt_private.js"></script>

</head>

<body onload="pt_init();" onbeforeunload="return pt_unload();">

... ...

</body>

</html>

H3C recommends using browser IE 6.0 or later on the authentication clients.

Portal authentication configuration example

Network requirements

As shown in

Figure 285

, the wireless client belongs to VLAN 2 and accesses the network through the AP,

which belongs to VLAN 3. The model and serial ID of the AP is WA3628i-AGN and

210235A29G007C00002, respectively.
AC supports the local portal server, which runs HTTPS. The local portal server can push the
corresponding customized pages according to the SSID of the user logon interface.
A RADIUS server runs on IMC to provide authentication and accounting services.
The client must pass direct portal authentication to access Internet resources. Before authentication, the

client can access only the local portal server.

Advertising