User's Manual

EnRoute500 User’s Guide
TR0149 Rev. C5
98
entry, which will be different for each node in the network, must be mapped to one of the
node’s IP addresses (see section 6.7 for more information on DNS proxy configuration).
The example below shows how to configure the DNS proxy assuming the login page redirects
to the host ‘redirect.domain.com’ and the IP address of the wlan1 interface is 10.1.2.1.
> use sys
sys> set dnsproxy.enable=yes
sys> set dnsproxy.hosts=”dns.proxy.name.here=10.1.2.1”
The DNS proxy setting is used in conjunction with the splash pages to ensure that a
common login URL can be used on all nodes. The DNS proxy entry directs the
results of the login process to the right location that is, the EnRoute500 that the
client device is connected to.
The login page must also contain the following ‘input’ fields on lines 12, 15, and 19. These are
used to allow a user logging in to provide their username and password, and to submit them.
The names of these input fields, ‘username’, ‘password’, and ‘login’, must not be changed.
1
<html>
2
<head>
3
<title>Test Login Page</title>
4
</head>
5
<body>
6
<form method="POST" action="https://dns.proxy.name.here/radius/login.cgi">
7
Welcoming text or 'Terms of Service' could go here. <br />
8
9
<table border="0">
10
<tr>
11
<td> Username: </td>
12
<td> <input name="username" type="text"><br /> </td>
13
</tr><tr>
14
<td> Password: </td>
15
<td> <input name="password" type="password"> </td>
16
</tr>
17
</table>
18
19
<input name="login" type="submit" value="Submit">
20
</form>
21
</body>
22
</html>
Figure 50. Sample HTML code for login web page
If the splash page is not configured to require a user to provide login credentials
(‘splash.auth.server.enable.wlanN’ is set to ‘no’), the requirements for the login page are
slightly different, as shown in Figure 51. The page must still contain a form definition similar to
that on line 6 in Figure 51. The ‘action’ value must be set to point to a proxied server name,
just as for the case where a user is required to provide login credentials. The last part of the
‘action’ value must be ‘/splash/nologin.cgi’. Also, a button with the name ‘login’ must be
defined, as shown on line 8 of Figure 51.