Difference between revisions of "Template:Networking rutos manual hotspot"

From Teltonika Networks Wiki
(33 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Template:Networking_rutos_manual_fw_disclosure
+
{{Template: Networking_rutos_manual_fw_disclosure
| fw_version = {{{series}}}_R_00.02.04.1
+
| fw_version ={{Template: Networking_rutos_manual_latest_fw
| series = {{{series}}}
+
| series = {{{series}}}
 +
| name  = {{{name}}}
 +
}}
 
}}
 
}}
 +
{{#ifeq: {{{series}}} | RUT9 |<br><i><b>Note</b>: <b>[[{{{name}}} Hotspot (legacy WebUI)|click here]]</b> for the old style WebUI (FW version {{Template: Networking_rutos_manual_latest_fw | series = RUT9XX}} and earlier) user manual page.</i>|}}
 +
{{#ifeq: {{{series}}} | RUT2 |<br><i><b>Note</b>: <b>[[{{{name}}} Hotspot (legacy WebUI)|click here]]</b> for the old style WebUI (FW version {{Template: Networking_rutos_manual_latest_fw | series = RUT2XX}} and earlier) user manual page.</i>|}}
 +
==Summary==
  
==Summary==
+
On Teltonika Networks devices a <b>Hotspot</b> is a service that provides authentication, authorization and accounting for a network. This chapter is an overview of the Hotspot section for {{{name}}} devices.
 +
{{#switch: {{{series}}}
 +
  | #default =
 +
  | RUT36X|RUT9|TCR1|RUT2|RUT2M|RUT9M =  
 +
<u><b>
  
'''Hotspot''' is a service that provides authentication, authorization and accounting for a network.
+
Note:</b> Hotspot is additional software that can be installed from the <b>Services → [[{{{name}}} Package Manager|Package Manager]]</b> page.</u>
 +
}}
  
{{#ifeq:{{{wifi}}}|1
+
==General==
|
 
{{{name}}} devices are able to create Hotspot on either Wireless or LAN interface.
 
  
Wireless <b>Hotspots</b> are essentially Wireless Access Points - they provide network and/or internet access to other
+
===Hotspot Instances===
WiFi devices. The difference is that Hotspots are a lot more versatile when it comes to managing, monitoring and
+
----
authenticating the wireless network's users. For example, while Wireless APs can be password protected, with Hotspots
+
The <b>Hotspot Instances</b> section displays the main parameters of your Hotspot. By default, a Hotspot instance does not exist on the device. To create a new instance and begin configuration:
you can configure different users with different names, passwords, even data limits and data speeds and more. This
 
chapter is an overview of the '''Wireless Hotspot''' function in {{{name}}} routers. In Services > Hotspot > General tab
 
first choose interface on which you want Hotspot to operate, press '''Add''' and after new hotspot instance appears
 
click on [[File:Networking_rutx_manual_edit_button_v1.png]] to start configuration.
 
  
[[File:Network_rutxxx_manual_hotspot_hotspot_instances.png]]
+
<ol>
|
+
    <li>select an 'Interface';</li>
{{{name}}} devices are able to create Hotspot on LAN interface.
+
    <li>click the 'Add' button;</li>
 +
</ol>
  
[[File:Network_rutx10_manual_hotspot_hotspot_instances_v1.png|border|class=tlt-border]]
+
[[File:Networking_rutos_manual_hotspot_hotspot_instances_add_button_edit_buton_wifi_{{{wifi}}}.png|border|class=tlt-border]]
}}
 
  
==General Settings==
+
After this, a new Hotspot configuration window will appear.
  
The '''General Settings''' window is where most of the Hotspot configurations take place. This section will be divided
+
====General Settings====
into sub-sections because configuration for Local authentication and with Radius Server are almost identical, just when
+
----
Radius is chosen extra tab appears.
+
The <b>General Settings</b> window is where most of the Hotspot configuration takes place. Look to the sub-sections below for information on configuration fields found in the General Settings sections.
  
====General====
+
=====General=====
 
----
 
----
[[File:Network_rutxxx_manual_hotspot_general_settings_v1.png|border|class=tlt-border]]
+
[[File:Networking_rutos_manual_hotspot_general_hotspot_instances_general_settings_general_v2.png|border|class=tlt-border]]
  
 
<table class="nd-mantable">
 
<table class="nd-mantable">
<tr>
+
    <tr>
<th>field name</th>
+
<th>Field</th>
<th>value</th>
+
<th>Value</th>
<th>description</th>
+
<th>Description</th>
</tr>
+
    </tr>
<tr>
+
    <tr>
<td>Enable</td>
+
<td>Configuration profile</td>
<td>off {{!}} on; default: '''on'''</td>
+
<td>Cloud4wi | Default | Hotspotsystems; default: <b>Default</b></td>
<td>Toggles WiFi Hotspot instance ON or OFF.</td>
+
<td>Pre-configures Hotspot settings according to the selected service provider.</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
<td>Hotspot Network</td>
+
<td>Enable</td>
<td>IP; default: '''192.168.2.0/24'''</td>
+
<td>off | on; default: <b>on</b></td>
<td>Defines IP and subnet of Hotspot Network.</td>
+
<td>Turns the Hotspot instance on or off.</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
<td>IP Adress</td>
+
<td>Hotspot Network</td>
<td>ip; default: '''192.168.2.254'''</td>
+
<td>ip/netmask; default: <b>192.168.2.0/24</b></td>
<td>Defines the IP address of your Hotspot router in network.</td>
+
<td>IP address and subnet of the Hotspot network.</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
<td>Authentication mode</td>
+
<td>IP Address</td>
<td>Radius {{!}} Local user {{!}} {{#ifeq:{{{mobile}}}|1| SMS OTP {{!}}}} MAC auth ; default: '''Local users'''
+
<td>ip; default: '''192.168.2.254'''</td>
</td>
+
<td>Defines the IP address of your Hotspot router in network.</td>
<td>Authentication mode defines how users will connect to the Hotspot.</td>
+
    </tr>
</tr>
+
    <tr>
<tr>
+
<td>Authentication mode</td>
<td>Allow signup
+
<td>Radius | Local user | {{#ifeq:{{{mobile}}}|1|SMS OTP <nowiki>|</nowiki> |}}MAC auth ; default: <b>Local users</b></td>
</td>
+
<td>Authentication mode defines how users will connect to the Hotspot.</td>
<td>off | on; default: '''off'''</td>
+
    </tr>
<td>Allows users to sign up to hotspot via landing page.</td>
+
    <tr>
</tr>
+
<td>Allow signup</td>
<tr>
+
<td>off | <span style="color: #20C0D7;"><b>on</b></span>; default: <b>off</b></td>
<td>Landing Page</td>
+
<td>Allows users to sign up to hotspot via landing page.</td>
<td>Internal {{!}} External; default: '''Internal'''</td>
+
    </tr>
<td>If external Landing Page is chosen, new section, to enter website address, will appear, e.g.
+
    <tr>
http://www.example.com</td>
+
<td><span style="color: #20C0D7;">Expiration time</span></td>
</tr>
+
<td>integer; default: <b>0</b></td>
<tr>
+
<td>User credential expiration time. Applies to users who signed up via landing page.</td>
<td>UAM Port</td>
+
    </tr>
<td>integer; default: '''3990'''</td>
+
    <tr>
<td>Port to bind for authenticating clients.</td>
+
<td><span style="color: #20C0D7;">Users group</span></td>
</tr>
+
<td>user group; default: <b>default</b></td>
<tr>
+
<td>The user group to which users signed up via landing page should be assigned to.</td>
<td>UAM Secret</td>
+
    </tr>
<td>string; default: <b>none</b></td>
+
    <tr>
<td>Shared secret between uamserver and hotspot.</td>
+
<td>Landing Page</td>
</tr>
+
<td>Internal | <span style="color: #f43b1a;">External</span>; default: <b>Internal</b></td>
<tr>
+
<td>If external Landing Page is chosen, new section, to enter website address, will appear, e.g., <i><nowiki>http://www.example.com</nowiki></i></td>
<td>Success page</td>
+
    </tr>
<td>Success Page {{!}} Original URL {{!}} Custom; default: '''Success page'''</td>
+
    <tr>
<td>Location to return to after successful authentication.</td>
+
<td>UAM Port</td>
</tr>
+
<td>integer; default: <b>3990</b></td>
 +
<td>Port to bind for authenticating clients.</td>
 +
    </tr>
 +
    <tr>
 +
<td><span style="color: #f43b1a;">UAM Secret</span></td>
 +
<td>string; default: <b>none</b></td>
 +
<td>Shared secret between uamserver and hotspot.</td>
 +
    </tr>
 +
    <tr>
 +
<td>Success page</td>
 +
<td>Success Page | Original URL | Custom; default: <b>Success page</b></td>
 +
<td>Location to return to after successful authentication.</td>
 +
    </tr>
 
</table>
 
</table>
  
====Advanced====
+
=====Advanced=====
 
----
 
----
 
+
[[File:Networking_rutos_manual_hotspot_general_hotspot_instances_general_settings_advanced.png|border|class=tlt-border]]
[[File:Network_rutxxx_manual_hotspot_advanced_settings_v1.png|border|class=tlt-border]]
 
  
 
<table class="nd-mantable">
 
<table class="nd-mantable">
<tr>
+
    <tr>
<td>Additional interfaces</td>
+
<th>Field</th>
<td>Available interfaces; default: '''none'''</td>
+
<th>Value</th>
<td>Shows additional interfaces that can be attached to hotspot instance.</td>
+
<th>Description</th>
</tr>
+
    </tr>
<tr>
+
    <tr>
<td>Logout address</td>
+
<td>Additional interfaces</td>
<td>ip; default: '''1.0.0.0'''</td>
+
<td>Available interfaces; default: '''none'''</td>
<td>An address that can be used by users to logout from the Hotspot session.</td>
+
<td>Shows additional interfaces that can be attached to hotspot instance.</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
<td>Protocol</td>
+
<td>Logout address</td>
<td>HTTP {{!}} HTTPS; default: '''HTTP'''</td>
+
<td>ip; default: '''1.0.0.0'''</td>
<td>Protocol to be used for landing page.</td>
+
<td>An address that can be used by users to logout from the Hotspot session.</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
<td>Enable TOS</td>
+
<td>Protocol</td>
<td>off {{!}} on; default: '''off'''</td>
+
<td>HTTP | HTTPS; default: <b>HTTP</b></td>
<td>Enables Terms of Service (ToS) requirement. Cient device will be able to access the Internet only after
+
<td>Protocol to be used for landing page.</td>
agreeing ToS.</td>
+
    </tr>
</tr>
+
    <tr>
<tr>
+
<td>Enable TOS</td>
<td>Trial access</td>
+
<td>off | on; default: <b>off</b></td>
<td>off {{!}} on; default: '''off'''</td>
+
<td>Enables Terms of Service (ToS) requirement. Client device will be able to access the Internet only after agreeing ToS.</td>
<td>Enables trial internet access for a specific group.</td>
+
    </tr>
</tr>
+
    <tr>
<tr>
+
<td>Trial access</td>
<td><span style="color: tomato;">Trial access: </span>Group</td>
+
<td>off | <span style="color: #f43b1a; font-weight: bold;">on</span>; default: <b>off</b></td>
<td>User group; default: '''default'''</td>
+
<td>Enables trial internet access for a specific group.</td>
<td>Group of trial users.</td>
+
    </tr>
</tr>
+
    <tr>
<tr>
+
<td><span style="color: #f43b1a;">Trial access</span>: Group</td>
<td>HTTPS to landing page redirect</td>
+
<td>User group; default: <b>default</b>
<td>off {{!}} on; default: '''off'''</td>
+
<td>Group of trial users.</td>
<td>Redirect initial pre-landing page HTTPS requests to hotspot landing page.</td>
+
    </tr>
</tr>
+
    <tr>
<tr>
+
<td>HTTPS to landing page redirect</td>
<td>DNS server 1</td>
+
<td>off | <span style="color: #20C0D7;"><b>on</b></span>; default: <b>off</b></td>
<td>ip; default: '''8.8.8.8'''</td>
+
<td>Redirect initial pre-landing page HTTPS requests to hotspot landing page.</td>
<td>Additional DNS servers that are to be used by the Hotspot.</td>
+
    </tr>
</tr>
+
    <tr>
<tr>
+
<td><span style="color: #20C0D7;"><b>Certificate files from device</b></span></td>
<td>DNS server 2</td>
+
<td>off | on; default: <b>off</b></td>
<td>ip; default: '''8.8.4.4'''</td>
+
<td>Specified whether to upload key & certificate files from computer or to use files generated on this device via the <i>System → Administration → <b>[[{{{name}}} Administration#Certificates|Certificates]]</b></i> page.</td>
<td>Additional DNS servers that are to be used by the Hotspot.</td>
+
    </tr>
</tr>
+
    <tr>
 +
<td><span style="color: #20C0D7;">SSL key file</span></td>
 +
<td>key file; default: <b>none</b></td>
 +
<td>Upload/select SSL key.</td>
 +
    </tr>
 +
    <tr>
 +
<td><span style="color: #20C0D7;">SSL certificate file</span></td>
 +
<td>certificate file; default: <b>none</b></td>
 +
<td>Upload/select SSL certificate.</td>
 +
    </tr>
 +
    <tr>
 +
<td>DNS server 1</td>
 +
<td>ip; default: <b>8.8.8.8</b></td>
 +
<td>Additional DNS servers that are to be used by the Hotspot.</td>
 +
    </tr>
 +
    <tr>
 +
<td>DNS server 2</td>
 +
<td>ip; default: <b>8.8.4.4</b></td>
 +
<td>Additional DNS servers that are to be used by the Hotspot.</td>
 +
    </tr>
 
</table>
 
</table>
  
====Radius====
+
=====Radius=====
 
----
 
----
 +
</b>Radius</b> authentication mode uses an external RADIUS server, to which you have to provide an address to, instead of using the router's Local Authentication. If you are using Local authentication, this section is not visible.
  
'''Radius''' authentication mode uses an external Radius servers, to which you have to provide an address to, instead of
+
[[File:Networking_rutos_manual_hotspot_general_hotspot_instances_general_settings_radius.png|border|class=tlt-border]]
using the router's Local Authentication. If you are using Local authentication, you can skip straight to
 
[[{{{name}}}_Hotspot#Walled_Garden|Walled Garden]].
 
 
 
[[File:Network_rutxxx_manual_hotspot_radius_settings_v1.png|border|class=tlt-border]]
 
  
 
<table class="nd-mantable">
 
<table class="nd-mantable">
<tr>
+
    <tr>
<td>RADIUS server #1</td>
+
<th>Field</th>
<td>ip; default: <b>none</b></td>
+
<th>Value</th>
<td>The IP address of the RADIUS server #1 that is to be used for Authenticating your wireless clients.</td>
+
<th>Description</th>
</tr>
+
    </tr>
<tr>
+
    <tr>
<td>RADIUS server #2</td>
+
<td>RADIUS server #1</td>
<td>ip; default: <b>none</b></td>
+
<td>ip; default: <b>none</b></td>
<td>The IP address of the RADIUS server #2 that is to be used for Authenticating your wireless clients.</td>
+
<td>The IP address of the RADIUS server #1 that is to be used for Authenticating your wireless clients.</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
<td>Authentication port</td>
+
<td>RADIUS server #2</td>
<td>integer [0..65535]; default: '''1812'''</td>
+
<td>ip; default: <b>none</b></td>
<td>RADIUS server authentication port.</td>
+
<td>The IP address of the RADIUS server #2 that is to be used for Authenticating your wireless clients.</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
<td>Accounting port</td>
+
<td>Authentication port</td>
<td>integer [0..65535]; default: '''1813''' </td>
+
<td>integer [0..65535]; default: <b>1812</b></td>
<td>RADIUS server accounting port.</td>
+
<td>RADIUS server authentication port.</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
<td>NAS identifier</td>
+
<td>Accounting port</td>
<td>string; default: <b>none</b></td>
+
<td>integer [0..65535]; default: <b>1813</b> </td>
<td>NAS-Identifier is one of the basic RADIUS attributes.</td>
+
<td>RADIUS server accounting port.</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
<td>Radius secret key</td>
+
<td>NAS identifier</td>
<td>string; default: <b>none</b></td>
+
<td>string; default: <b>none</b></td>
<td>The secret key is a password used for authentication with the RADIUS server.</td>
+
<td>NAS-Identifier is one of the basic RADIUS attributes.</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
<td>Swap octets</td>
+
<td>Radius secret key</td>
<td>off {{!}} on; default: '''off'''</td>
+
<td>string; default: <b>none</b></td>
<td>Swaps the meaning of input octets and output as it relates to RADIUS attributes.</td>
+
<td>The secret key is a password used for authentication with the RADIUS server.</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
<td>Location name</td>
+
<td>Swap octets</td>
<td>string; default: <b>none</b></td>
+
<td>off | on; default: <b>off</b></td>
<td>Custom location name for your Hotspot.</td>
+
<td>Swaps the meaning of input octets and output as it relates to RADIUS attributes.</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
<td>Location ID</td>
+
<td>Location name</td>
<td>string; default: <b>none</b></td>
+
<td>string; default: <b>none</b></td>
<td>Custom location ID for your Hotspot.</td>
+
<td>Custom location name for your Hotspot.</td>
</tr>
+
    </tr>
 +
    <tr>
 +
<td>Location ID</td>
 +
<td>string; default: <b>none</b></td>
 +
<td>Custom location ID for your Hotspot.</td>
 +
    </tr>
 
</table>
 
</table>
  
====Walled Garden====
+
=====Walled Garden=====
 
----
 
----
 +
You can add a list of addresses that users connected to the Hotspot will be able to reach without any authentication.
 +
By default this list is empty. Simply write addresses into the Address List.
  
You can add a list of addresses that users connected to the Hotspot will be able to reach without any authentication. By
+
Format of address is <b>website.com</b> (does not include https://www).
default this list is empty. Simply write addresses in to Address List.
 
  
[[File:Network_rutxxx_manual_hotspot_general_walled_garden_v1.png|border|class=tlt-border]]
+
[[File:Networking_rutos_manual_hotspot_general_hotspot_instances_general_settings_walled_garden.png|border|class=tlt-border]]
  
====User Scripts====
+
=====URL Parameters=====
 
----
 
----
 +
The <b>URL parameters</b> section becomes visible when <b>Landing page</b> is selected as <b>External</b> in [[{{{name}}}_Hotspot#General_2|General settings]] section.
  
In this tab you can add Scripts that will be executed after a session is authorized in '''Session up'''
+
[[File:Networking_rutos_manual_hotspot_general_hotspot_instances_general_settings_urlparams.png|border|class=tlt-border]]
section, after session has moved from authorized state to unauthorized in '''Session down''' section
 
and after a new user has been signed up in '''User signup''' section.
 
 
 
[[File:Network_rutxxx_manual_hotspot_user_scripts_v1.png|border|class=tlt-border]]
 
 
 
==Local Users==
 
 
 
The '''Users Configuration''' tab is used to create new, unique users that can connect to the Hotspot.
 
 
 
[[File:Network_rutxxx_manual_hotspot_local_users_v1.png|border|class=tlt-border]]
 
  
 
<table class="nd-mantable">
 
<table class="nd-mantable">
<tr>
+
    <tr>
<th>field name</th>
+
<th>Field</th>
<th>value</th>
+
<th>Value</th>
<th>description</th>
+
<th>Description</th>
</tr>
+
    </tr>
<tr>
+
    <tr>
<td>Name</td>
+
<td>UAM IP</td>
<td>string; default: <b>none</b></td>
+
<td>string; default: <b>none</b></td>
<td>A custom user name used to authenticate clients connecting to the Hotspot.</td>
+
<td>The IP Address of the Captive Portal gateway.</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
<td>Password</td>
+
<td>UAM port</td>
<td>string; default: <b>none</b></td>
+
<td>string; default: <b>none</b></td>
<td>A custom password for the specified user name.</td>
+
<td>The port on which the Captive Portal will serve web content.</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
<td>Group</td>
+
<td>Called</td>
<td>string; default: '''default'''</td>
+
<td>string; default: <b>none</b></td>
<td>After adding user select group that it will be assigned to. Group describes connection speeds and
+
<td>The MAC address of the IP Address of the Captive Portal gateway.</td>
dowload/upload limits. The '''default''' group settings have no restrictions. More on User Groups in the
+
    </tr>
next section.</td>
+
    <tr>
</tr>
+
<td>MAC</td>
 +
<td>string; default: <b>none</b></td>
 +
<td>The MAC address of the client trying to gain Internet access.</td>
 +
    </tr>
 +
    <tr>
 +
<td>NAS id</td>
 +
<td>string; default: <b>none</b></td>
 +
<td>An identification for the Captive Portal used in the RADIUS request.</td>
 +
    </tr>
 +
    <tr>
 +
<td>Session id</td>
 +
<td>string; default: <b>none</b></td>
 +
<td>The unique identifer for session.</td>
 +
    </tr>
 +
    <tr>
 +
<td>User url</td>
 +
<td>string; default: <b>none</b></td>
 +
<td>The URL which the user tried to access before he were redirected to the Captive Portal's URL's pages.</td>
 +
    </tr>
 +
    <tr>
 +
<td>Challenge</td>
 +
<td>string; default: <b>none</b></td>
 +
<td>A challenge that should be used together with the user's password to create an encrypted phrase used to log on.</td>
 +
    </tr>
 +
    <tr>
 +
<td>Custom 1</td>
 +
<td>string; default: <b>none</b></td>
 +
<td>Add custom name and custom value which will be displayed in url parameters.</td>
 +
    </tr>
 +
    <tr>
 +
<td>-</td>
 +
<td>SSID | Hostname | FW version | --Custom--; default: <b>SSID</b></td>
 +
<td>-</td>
 +
    </tr>
 +
    <tr>
 +
<td>Custom 2</td>
 +
<td>string; default: <b>none</b></td>
 +
<td>Add custom name and custom value which will be displayed in url parameters.</td>
 +
    </tr>
 +
    <tr>
 +
<td>-</td>
 +
<td>SSID | Hostname | FW version | --Custom--; default: <b>SSID</b></td>
 +
<td>-</td>
 +
    </tr>
 
</table>
 
</table>
  
==User Groups==
+
=====User Scripts=====
 +
----
 +
In this section you can add custom <b>Scripts</b> that will be executed after a session is authorized in the <b>Session up</b> section, after session has moved from authorized state to unauthorized in the <b>Session down</b> section and after a new user has been signed up in the <b>User signup</b> section.
  
'''User Groups''' lets set different connection limits for different users. Group '''default''' is already created and
+
[[File:Networking_rutos_manual_hotspot_general_hotspot_instances_general_settings_user_scripts.png|border|class=tlt-border]]
does not have any limitations set. To create new group simply enter the name and press Add.
 
  
[[File:Network_rutxxx_manual_hotspot_user_groups_v1.png|border|class=tlt-border]]
+
==Local Users==
  
After adding a group it will not have any limits set, so press edit [[File:Networking rutx manual edit button v1.png]].
+
The <b>Local Users</b> section is used to create and manage users that can connect to the Hotspot. The elements comprising the Local Users page are explained in the list and figure below.  
In following window you will be able to configure yours User Group.
 
  
[[File:Network_rutxxx_manual_hotspot_user_group_settings_v1.png|border|class=tlt-border]]
+
<ol>
 +
    <li>Entering a Username, Password and clicking the 'Add' button creates a new user.</li>
 +
    <li>The 'Group' dropdown menu assigns a user to another group.</li>
 +
    <li>The 'Edit' button lets you change a user's password or assign the user to another group.</li>
 +
    <li>The 'Delete[X]' button deletes a user.</li>
 +
</ol>
  
<table class="nd-mantable">
+
[[File:Networking_rutos_manual_hotspot_local_users_add_button_edit_button.png|border|class=tlt-border]]
<tr>
 
<th>field name</th>
 
<th>value</th>
 
<th>description</th>
 
</tr>
 
<tr>
 
<td>Idle timeout</td>
 
<td>integer; default: <b>none</b></td>
 
<td>A timeout in seconds after which idle users are automatically disconnected from the Hotspot. (0 means
 
unlimited)</td>
 
</tr>
 
<tr>
 
<td>Time limit</td>
 
<td>integer; default: <b>none</b></td>
 
<td>Disables hotspot user after time limit in sec is reached. (0, meaning unlimited)</td>
 
</tr>
 
<tr>
 
<td>Download bandwidth</td>
 
<td>integer; default: <b>none</b></td>
 
<td> Maximum download bandwidth that the users assigned to this template can achieve. Bandwidth can be specified
 
in Kbit/s or Mbit/s.</td>
 
</tr>
 
<tr>
 
<td>Upload bandwidth</td>
 
<td>integer; default: <b>none</b></td>
 
<td>Maximum upload bandwidth that the users assigned to this template can achieve. Bandwidth can be specified in
 
Kbit/s or Mbit/s.</td>
 
</tr>
 
<tr>
 
<td>Download limit</td>
 
<td>integer; default: <b>none</b></td>
 
<td>A received data limit that the users assigned to this template can reach. After the data limit is reached,
 
the user will lose data connection. Download limit is specified in MB.</td>
 
</tr>
 
<tr>
 
<td>Upload limit</td>
 
<td>integer; default: <b>none</b></td>
 
<td>A sent data limit that the users assigned to this template can reach. After the data limit is reached, the
 
user will lose data connection. Upload limit is specified in MB.</td>
 
</tr>
 
<tr>
 
<td>Period</td>
 
<td>Month {{!}} Week {{!}} Day; default: '''Month'''</td>
 
<td>The beginning of the period during which the restriction specified in this section will apply. After the
 
period is over, all specified limits are reset. </td>
 
</tr>
 
<tr>
 
<td>Start day</td>
 
<td>integer [1..31] {{!}} Monday..Sunday {{!}} integer [1..24]; default: '''1'''</td>
 
<td>Choices changes depending on what '''Period''' was chosen. Specifies which day of the month, week or hour of
 
the day the limits will be reset.</td>
 
</tr>
 
<tr>
 
<td>Expiration time</td>
 
<td>integer; default: '''0'''</td>
 
<td>Expiration time in sec (0 means unlimited). Only for dynamically created users.</td>
 
</tr>
 
</table>
 
  
 
==Landing Page==
 
==Landing Page==
  
This section is used to define how your Hotspot's Landing Page will look like.
+
This section is used to define how your Hotspot's <b>Landing Page</b> will look like to connecting users.
  
 
===General Settings===
 
===General Settings===
 
----
 
----
'''General Settings''' section lets you choose authentication protocol that will be used in Landing Page.
+
<b>General Settings</b> section lets you choose the authentication protocol and theme that will be used in the Landing Page. You can download more themes using the [[{{{name}}}_Package_Manager|Package Manager]]
  
[[File:Network_rutxxx_manual_hotspot_landing_page_general_v1.png|border|class=tlt-border]]
+
[[File:Networking_rutos_manual_hotspot_landing_page_general_settings.png|border|class=tlt-border]]
  
 
===Themes===
 
===Themes===
 
----
 
----
The <b>Themes</b> section shows all available landing page themes and allows you to edit them.
+
The <b>Themes</b> section displays all available Landing Page themes. In order to edit a theme, click the 'Edit' button next to it.
  
[[File:Network_rutxxx_manual_hotspot_landing_page_themes_v1.png|border|class=tlt-border]]
+
[[File:Networking_rutos_manual_hotspot_landing_page_themes_edit_button.png|border|class=tlt-border]]
  
 
====Images====
 
====Images====
Line 344: Line 362:
 
The <b>Images</b> section allows you to upload custom images to different objects.
 
The <b>Images</b> section allows you to upload custom images to different objects.
  
[[File:Network_rutxxx_manual_hotspot_landing_page_themes_images_v1.png|border|class=tlt-border]]
+
[[File:Networking_rutos_manual_hotspot_landing_page_themes_images.png|border|class=tlt-border]]
  
====Style settings====
+
====Style Settings====
 
----
 
----
  
Line 352: Line 370:
 
landing page will look visually using CSS syntax.
 
landing page will look visually using CSS syntax.
  
[[File:Network_rutxxx_manual_hotspot_landing_page_themes_style_v1.png|border|class=tlt-border]]
+
[[File:Networking_rutos_manual_hotspot_landing_page_themes_style_settings.png|border|class=tlt-border]]
  
====View settings====
+
====View Settings====
 
----
 
----
 +
In <b>View Settings</b> you can access and modify default templates for various parts of landing page and edit their HTML code.
  
In view settings you can access and modify default templates for various parts of landing page and edit their HTML code.
+
[[File:Networking_rutos_manual_hotspot_landing_page_themes_view_settings.png|border|class=tlt-border]]
  
[[File:Network_rutxxx_manual_hotspot_landing_page_themes_view_settings_v1.png|border|class=tlt-border]]
+
==User Groups==
 +
 
 +
<b>User Groups</b> provides the possibility to set different connection limits for different users. A group called 'default' is already created and does not have any limitations set by default. You can
 +
 
 +
<ol>
 +
    <li>create a new group by entering a custom Name and clicking 'Add'</li>
 +
    <li>or configure the existing rule by clicking the 'Edit' button next to it.</li>
 +
</ol>
 +
 
 +
[[File:Networking_rutos_manual_hotspot_user_groups_edit_button.png|border|class=tlt-border]]
 +
 
 +
A group's settings page will look similar to this:
 +
 
 +
[[File:Networking_rutos_manual_hotspot_user_groups_group_default_settings_v2.png|border|class=tlt-border]]
 +
 
 +
<table class="nd-mantable">
 +
    <tr>
 +
        <th>Field</th>
 +
        <th>Value</th>
 +
        <th>Description</th>
 +
    </tr>
 +
    <tr>
 +
        <td>Idle timeout</td>
 +
        <td>integer; default: <b>none</b></td>
 +
        <td>A timeout in seconds after which idle users are automatically disconnected from the Hotspot. (0 means
 +
            unlimited.)</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Time limit</td>
 +
        <td>integer; default: <b>none</b></td>
 +
        <td>Disables hotspot user after time limit in sec is reached. (0, meaning unlimited)</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Download bandwidth</td>
 +
        <td>integer; default: <b>none</b></td>
 +
        <td> Maximum download bandwidth that the users assigned to this template can achieve. Bandwidth can be specified in Mbit/s.</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Upload bandwidth</td>
 +
        <td>integer; default: <b>none</b></td>
 +
        <td>Maximum upload bandwidth that the users assigned to this template can achieve. Bandwidth can be specified in Mbit/s.</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Download limit</td>
 +
        <td>integer; default: <b>none</b></td>
 +
        <td>A received data limit that the users assigned to this template can reach. After the data limit is reached,
 +
            the user will lose data connection. Download limit is specified in MB.</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Upload limit</td>
 +
        <td>integer; default: <b>none</b></td>
 +
        <td>A sent data limit that the users assigned to this template can reach. After the data limit is reached, the
 +
            user will lose data connection. Upload limit is specified in MB.</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Warning</td>
 +
        <td>integer; default: <b>none</b></td>
 +
        <td>Send an SMS warning to hotspot user after warning value of download or upload data in MB is reached. Only works with SMS OTP authentication.</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Period</td>
 +
        <td>Month | Week | Day; default: <b>Month</b></td>
 +
        <td>The beginning of the period during which the restriction specified in this section will apply. After the
 +
            period is over, all specified limits are reset. </td>
 +
    </tr>
 +
    <tr>
 +
        <td>Start day</td>
 +
        <td>integer [1..31] | Monday..Sunday | integer [1..24]; default: <b>1</b></td>
 +
        <td>Choices changes depending on what 'Period' was chosen. Specifies which day of the month, week or hour of the
 +
            day the limits will be reset.</td>
 +
    </tr>
 +
</table>
  
==User management==
+
==User Management==
  
The <b>User management</b> section allows you to manage currently logged in users.
+
The <b>User management</b> section displays the status and session statistics of currently logged in users. You can also "kick" (deauthenticate) a user by clicking the 'Logout' button next to it.
  
[[File:Network_rutxxx_manual_hotspot_landing_page_user_management_v1.png|border|class=tlt-border]]
+
[[File:Networking_rutos_manual_hotspot_user_management.png|border|class=tlt-border]]
  
 
[[Category:{{{name}}} Services section]]
 
[[Category:{{{name}}} Services section]]

Revision as of 11:53, 3 June 2022

Template:Networking rutos manual fw disclosure


Summary

On Teltonika Networks devices a Hotspot is a service that provides authentication, authorization and accounting for a network. This chapter is an overview of the Hotspot section for {{{name}}} devices.


General

Hotspot Instances


The Hotspot Instances section displays the main parameters of your Hotspot. By default, a Hotspot instance does not exist on the device. To create a new instance and begin configuration:

  1. select an 'Interface';
  2. click the 'Add' button;

[[File:Networking_rutos_manual_hotspot_hotspot_instances_add_button_edit_buton_wifi_{{{wifi}}}.png|border|class=tlt-border]]

After this, a new Hotspot configuration window will appear.

General Settings


The General Settings window is where most of the Hotspot configuration takes place. Look to the sub-sections below for information on configuration fields found in the General Settings sections.

General

Networking rutos manual hotspot general hotspot instances general settings general v2.png

Field Value Description
Configuration profile Cloud4wi | Default | Hotspotsystems; default: Default Pre-configures Hotspot settings according to the selected service provider.
Enable off | on; default: on Turns the Hotspot instance on or off.
Hotspot Network ip/netmask; default: 192.168.2.0/24 IP address and subnet of the Hotspot network.
IP Address ip; default: 192.168.2.254 Defines the IP address of your Hotspot router in network.
Authentication mode Radius | Local user | MAC auth ; default: Local users Authentication mode defines how users will connect to the Hotspot.
Allow signup off | on; default: off Allows users to sign up to hotspot via landing page.
Expiration time integer; default: 0 User credential expiration time. Applies to users who signed up via landing page.
Users group user group; default: default The user group to which users signed up via landing page should be assigned to.
Landing Page Internal | External; default: Internal If external Landing Page is chosen, new section, to enter website address, will appear, e.g., http://www.example.com
UAM Port integer; default: 3990 Port to bind for authenticating clients.
UAM Secret string; default: none Shared secret between uamserver and hotspot.
Success page Success Page | Original URL | Custom; default: Success page Location to return to after successful authentication.
Advanced

Networking rutos manual hotspot general hotspot instances general settings advanced.png

Field Value Description
Additional interfaces Available interfaces; default: none Shows additional interfaces that can be attached to hotspot instance.
Logout address ip; default: 1.0.0.0 An address that can be used by users to logout from the Hotspot session.
Protocol HTTP | HTTPS; default: HTTP Protocol to be used for landing page.
Enable TOS off | on; default: off Enables Terms of Service (ToS) requirement. Client device will be able to access the Internet only after agreeing ToS.
Trial access off | on; default: off Enables trial internet access for a specific group.
Trial access: Group User group; default: default Group of trial users.
HTTPS to landing page redirect off | on; default: off Redirect initial pre-landing page HTTPS requests to hotspot landing page.
Certificate files from device off | on; default: off Specified whether to upload key & certificate files from computer or to use files generated on this device via the System → Administration → [[{{{name}}} Administration#Certificates|Certificates]] page.
SSL key file key file; default: none Upload/select SSL key.
SSL certificate file certificate file; default: none Upload/select SSL certificate.
DNS server 1 ip; default: 8.8.8.8 Additional DNS servers that are to be used by the Hotspot.
DNS server 2 ip; default: 8.8.4.4 Additional DNS servers that are to be used by the Hotspot.
Radius

Radius authentication mode uses an external RADIUS server, to which you have to provide an address to, instead of using the router's Local Authentication. If you are using Local authentication, this section is not visible.

Networking rutos manual hotspot general hotspot instances general settings radius.png

Field Value Description
RADIUS server #1 ip; default: none The IP address of the RADIUS server #1 that is to be used for Authenticating your wireless clients.
RADIUS server #2 ip; default: none The IP address of the RADIUS server #2 that is to be used for Authenticating your wireless clients.
Authentication port integer [0..65535]; default: 1812 RADIUS server authentication port.
Accounting port integer [0..65535]; default: 1813 RADIUS server accounting port.
NAS identifier string; default: none NAS-Identifier is one of the basic RADIUS attributes.
Radius secret key string; default: none The secret key is a password used for authentication with the RADIUS server.
Swap octets off | on; default: off Swaps the meaning of input octets and output as it relates to RADIUS attributes.
Location name string; default: none Custom location name for your Hotspot.
Location ID string; default: none Custom location ID for your Hotspot.
Walled Garden

You can add a list of addresses that users connected to the Hotspot will be able to reach without any authentication. By default this list is empty. Simply write addresses into the Address List.

Format of address is website.com (does not include https://www).

Networking rutos manual hotspot general hotspot instances general settings walled garden.png

URL Parameters

The URL parameters section becomes visible when Landing page is selected as External in [[{{{name}}}_Hotspot#General_2|General settings]] section.

Networking rutos manual hotspot general hotspot instances general settings urlparams.png

Field Value Description
UAM IP string; default: none The IP Address of the Captive Portal gateway.
UAM port string; default: none The port on which the Captive Portal will serve web content.
Called string; default: none The MAC address of the IP Address of the Captive Portal gateway.
MAC string; default: none The MAC address of the client trying to gain Internet access.
NAS id string; default: none An identification for the Captive Portal used in the RADIUS request.
Session id string; default: none The unique identifer for session.
User url string; default: none The URL which the user tried to access before he were redirected to the Captive Portal's URL's pages.
Challenge string; default: none A challenge that should be used together with the user's password to create an encrypted phrase used to log on.
Custom 1 string; default: none Add custom name and custom value which will be displayed in url parameters.
- SSID | Hostname | FW version | --Custom--; default: SSID -
Custom 2 string; default: none Add custom name and custom value which will be displayed in url parameters.
- SSID | Hostname | FW version | --Custom--; default: SSID -
User Scripts

In this section you can add custom Scripts that will be executed after a session is authorized in the Session up section, after session has moved from authorized state to unauthorized in the Session down section and after a new user has been signed up in the User signup section.

Networking rutos manual hotspot general hotspot instances general settings user scripts.png

Local Users

The Local Users section is used to create and manage users that can connect to the Hotspot. The elements comprising the Local Users page are explained in the list and figure below.

  1. Entering a Username, Password and clicking the 'Add' button creates a new user.
  2. The 'Group' dropdown menu assigns a user to another group.
  3. The 'Edit' button lets you change a user's password or assign the user to another group.
  4. The 'Delete[X]' button deletes a user.

Networking rutos manual hotspot local users add button edit button.png

Landing Page

This section is used to define how your Hotspot's Landing Page will look like to connecting users.

General Settings


General Settings section lets you choose the authentication protocol and theme that will be used in the Landing Page. You can download more themes using the [[{{{name}}}_Package_Manager|Package Manager]]

Networking rutos manual hotspot landing page general settings.png

Themes


The Themes section displays all available Landing Page themes. In order to edit a theme, click the 'Edit' button next to it.

Networking rutos manual hotspot landing page themes edit button.png

Images


The Images section allows you to upload custom images to different objects.

Networking rutos manual hotspot landing page themes images.png

Style Settings


Pressing edit button Networking rutx manual edit button v1.png next to style settings lets you edit how your landing page will look visually using CSS syntax.

Networking rutos manual hotspot landing page themes style settings.png

View Settings


In View Settings you can access and modify default templates for various parts of landing page and edit their HTML code.

Networking rutos manual hotspot landing page themes view settings.png

User Groups

User Groups provides the possibility to set different connection limits for different users. A group called 'default' is already created and does not have any limitations set by default. You can

  1. create a new group by entering a custom Name and clicking 'Add'
  2. or configure the existing rule by clicking the 'Edit' button next to it.

Networking rutos manual hotspot user groups edit button.png

A group's settings page will look similar to this:

Networking rutos manual hotspot user groups group default settings v2.png

Field Value Description
Idle timeout integer; default: none A timeout in seconds after which idle users are automatically disconnected from the Hotspot. (0 means unlimited.)
Time limit integer; default: none Disables hotspot user after time limit in sec is reached. (0, meaning unlimited)
Download bandwidth integer; default: none Maximum download bandwidth that the users assigned to this template can achieve. Bandwidth can be specified in Mbit/s.
Upload bandwidth integer; default: none Maximum upload bandwidth that the users assigned to this template can achieve. Bandwidth can be specified in Mbit/s.
Download limit integer; default: none A received data limit that the users assigned to this template can reach. After the data limit is reached, the user will lose data connection. Download limit is specified in MB.
Upload limit integer; default: none A sent data limit that the users assigned to this template can reach. After the data limit is reached, the user will lose data connection. Upload limit is specified in MB.
Warning integer; default: none Send an SMS warning to hotspot user after warning value of download or upload data in MB is reached. Only works with SMS OTP authentication.
Period Month | Week | Day; default: Month The beginning of the period during which the restriction specified in this section will apply. After the period is over, all specified limits are reset.
Start day integer [1..31] | Monday..Sunday | integer [1..24]; default: 1 Choices changes depending on what 'Period' was chosen. Specifies which day of the month, week or hour of the day the limits will be reset.

User Management

The User management section displays the status and session statistics of currently logged in users. You can also "kick" (deauthenticate) a user by clicking the 'Logout' button next to it.

Networking rutos manual hotspot user management.png

[[Category:{{{name}}} Services section]]