Template:Networking rut manual upnp: Difference between revisions

From Teltonika Networks Wiki
No edit summary
No edit summary
Line 5: Line 5:
}}
}}
==Summary==
==Summary==
'''UPnP''' allows clients in the local network to automatically configure the router. This chapter is a summary of the UPnP function in RUT routers.


{{Template:Networking_rut9xx_rut2xx_rutxxx_manual_package_disclosure
{{Template:Networking_rut9xx_rut2xx_rutxxx_manual_package_disclosure
Line 13: Line 11:
| package_name                      = UPnP
| package_name                      = UPnP
}}
}}
'''UPnP''' allows clients in the local network to automatically configure the router. This chapter is a summary of the UPnP function in RUT routers.


==Active UPnP Redirects==
==Active UPnP Redirects==
Line 26: Line 26:
<table class="nd-mantable">
<table class="nd-mantable">
     <tr>
     <tr>
         <th>field name</th>
         <th>Field name</th>
       <th>value</th>
       <th>Value</th>
       <th>description</th>
       <th>Description</th>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Enabled</td>
       <td>Enabled</td>
       <td>no | yes; Default: '''no'''</td>
       <td>yes | no; Default: '''no'''</td>
       <td>Toggles UPnP ON or OFF</td>
       <td>Toggles UPnP on or off.</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Enable secure mode</td>
       <td>Enable secure mode</td>
       <td>no | yes; Default: '''yes'''</td>
       <td>yes | no; Default: '''yes'''</td>
       <td>Toggles secure mode ON or OFF</td>
       <td>Toggles secure mode on or off.</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Enable additional logging</td>
       <td>Enable additional logging</td>
       <td>no | yes; Default: '''no'''</td>
       <td>yes | no; Default: '''no'''</td>
       <td>Puts extra debugging information into the system log</td>
       <td>Puts extra debugging information into the system log.</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 58: Line 58:
       <td>Port</td>
       <td>Port</td>
       <td>integer [1..65535]; Default: '''5000'''</td>
       <td>integer [1..65535]; Default: '''5000'''</td>
       <td>Port to listen for requests</td>
       <td>Port to listen for requests.</td>
     </tr>
     </tr>
</table>
</table>
Line 68: Line 68:
<table class="nd-mantable">
<table class="nd-mantable">
     <tr>
     <tr>
         <th>field name</th>
         <th>Field name</th>
       <th>value</th>
       <th>Value</th>
       <th>description</th>
       <th>Description</th>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Report system instead of daemon uptime</td>
       <td>Report system instead of daemon uptime</td>
       <td>no | yes; Default: '''yes'''</td>
       <td>yes | no; Default: '''yes'''</td>
       <td>Use system uptime as UPnP uptime</td>
       <td>Use system uptime as UPnP uptime.</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Device UUID</td>
       <td>Device UUID</td>
       <td>string; Default: '''unique'''</td>
       <td>string; Default: '''unique'''</td>
       <td>The Device UUID attribute specifies and uniquely identifies a device that supports Universal Plug and Play (UPnP)</td>
       <td>The Device UUID attribute specifies and uniquely identifies a device that supports Universal Plug and Play (UPnP).</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Announced serial number</td>
       <td>Announced serial number</td>
       <td>string; Default: " "</td>
       <td>string; Default: <b>none</b></td>
       <td>Specifies serial number for XML Root Desc.</td>
       <td>Specifies serial number for XML Root Desc.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Announced model number</td>
     <td>Announced model number</td>
         <td>string; Default: " "</td>
         <td>string; Default: <b>none</b></td>
         <td>Specifies model number for XML Root Desc.</td>
         <td>Specifies model number for XML Root Desc.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Notify interval</td>
     <td>Notify interval</td>
         <td>integer; Default: " "</td>
         <td>integer; Default: <b>none</b></td>
         <td>Interval in which UPnP capable devices send a message to announce their services</td>
         <td>Interval in which UPnP capable devices send a message to announce their services.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Clean ruler threshold</td>
     <td>Clean ruler threshold</td>
         <td>integer; Default: " "</td>
         <td>integer; Default: <b>none</b></td>
         <td>Minimum number of redirections before clearing rules table of old (active) redirections</td>
         <td>Minimum number of redirections before clearing rules table of old (active) redirections.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Clean ruler interval</td>
     <td>Clean ruler interval</td>
         <td>integer; Default: " "</td>
         <td>integer; Default: <b>none</b></td>
         <td>Number of seconds before cleaning redirections</td>
         <td>Number of seconds before cleaning redirections.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Presentation URL</td>
     <td>Presentation URL</td>
         <td>string; Default: " "</td>
         <td>string; Default: <b>none</b></td>
         <td>Presentation url used for the Root Desc.</td>
         <td>Presentation url used for the Root Desc.</td>
     </tr>
     </tr>
Line 115: Line 115:
     <td>UPnP lease file</td>
     <td>UPnP lease file</td>
         <td>string; Default: '''/var/upnp.leases'''</td>
         <td>string; Default: '''/var/upnp.leases'''</td>
         <td>Stores active UPnP redirects in a lease file (specified), like DHCP leases</td>
         <td>Stores active UPnP redirects in a lease file (specified), like DHCP leases.</td>
     </tr>
     </tr>
</table>
</table>
Line 127: Line 127:
<table class="nd-mantable">
<table class="nd-mantable">
     <tr>
     <tr>
         <th>field name</th>
         <th>Field name</th>
       <th>value</th>
       <th>Value</th>
       <th>description</th>
       <th>Description</th>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Comment</td>
       <td>Comment</td>
       <td>string; Default: " "</td>
       <td>string; Default: <b>none</b></td>
       <td>Adds a comment to this rule</td>
       <td>Adds a comment to this rule.</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>External ports</td>
       <td>External ports</td>
       <td>integer [0..65535]] | range of integers [0-65535]; Default: " "</td>
       <td>integer [0..65535]] | range of integers [0-65535]; Default: <b>none</b></td>
       <td>External port(s) which may be redirected. May be specified as a single port or a range of ports. To specify a range use a dash ('-') symbol between two integer numbers</td>
       <td>External port(s) which may be redirected. May be specified as a single port or a range of ports. To specify a range use a dash ('-') symbol between two integer numbers.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Internal Addresses</td>
     <td>Internal Addresses</td>
         <td>ip/integer [0..32]; Default: " "</td>
         <td>ip/integer [0..32]; Default: <b>none</b></td>
         <td>Internal address to be redirect to</td>
         <td>Internal address to redirect to.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Internal ports</td>
     <td>Internal ports</td>
         <td>integer [0..65535]] | range of integers [0-655355]; Default: " "</td>
         <td>integer [0..65535]] | range of integers [0-655355]; Default: <b>none</b></td>
         <td>Internal port(s) to be redirect to May be specified as a single port or a range of ports. To specify a range use a dash ('-') symbol between two integer numbers</td>
         <td>Internal port(s) to redirect to May be specified as a single port or a range of ports. To specify a range use a dash ('-') symbol between two integer numbers.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Action</td>
     <td>Action</td>
         <td>allow | deny; Default: '''allow'''</td>
         <td>allow | deny; Default: '''allow'''</td>
         <td>Allows or forbids the UPnP service to open the specified port</td>
         <td>Allows or forbids the UPnP service to open the specified port.</td>
     </tr>
     </tr>
</table>
</table>


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

Revision as of 14:13, 21 October 2020

The information in this page is updated in accordance with the [[Media:_WEBUI.bin|]] firmware version.

Summary


{{{package}}} is additional software that can be installed from the System → [[{{{name}}} Package Manager|Package Manager]] page.

UPnP allows clients in the local network to automatically configure the router. This chapter is a summary of the UPnP function in RUT routers.

Active UPnP Redirects

In this table you can see all currently active UPnP redirects.

General Settings

Field name Value Description
Enabled yes | no; Default: no Toggles UPnP on or off.
Enable secure mode yes | no; Default: yes Toggles secure mode on or off.
Enable additional logging yes | no; Default: no Puts extra debugging information into the system log.
Downlink integer; Default: 1024 Bandwidth available for traffic coming in from the external interface in kbit/s. Note that this only information given to clients, it doesn't control the speed. In order to control the speed, you can try configuring [[{{{name}}}_QoS#QoS|QoS]].
Uplink integer; Default: 512 Bandwidth available for traffic out the external interface in kbit/s. Note that this only information given to clients, it doesn't control the speed. In order to control the speed, you can try configuring [[{{{name}}}_QoS#QoS|QoS]].
Port integer [1..65535]; Default: 5000 Port to listen for requests.

Advanced Settings

Field name Value Description
Report system instead of daemon uptime yes | no; Default: yes Use system uptime as UPnP uptime.
Device UUID string; Default: unique The Device UUID attribute specifies and uniquely identifies a device that supports Universal Plug and Play (UPnP).
Announced serial number string; Default: none Specifies serial number for XML Root Desc.
Announced model number string; Default: none Specifies model number for XML Root Desc.
Notify interval integer; Default: none Interval in which UPnP capable devices send a message to announce their services.
Clean ruler threshold integer; Default: none Minimum number of redirections before clearing rules table of old (active) redirections.
Clean ruler interval integer; Default: none Number of seconds before cleaning redirections.
Presentation URL string; Default: none Presentation url used for the Root Desc.
UPnP lease file string; Default: /var/upnp.leases Stores active UPnP redirects in a lease file (specified), like DHCP leases.

UPnP ACLs

ACLs specify which external ports may be redirected to which internal addresses and ports. There are two preconfigured rules, one to allow high ports, and another to deny the rest. Highest priority is at the top of a list and goes down. To add another specific rule press add button

Field name Value Description
Comment string; Default: none Adds a comment to this rule.
External ports integer [0..65535]] | range of integers [0-65535]; Default: none External port(s) which may be redirected. May be specified as a single port or a range of ports. To specify a range use a dash ('-') symbol between two integer numbers.
Internal Addresses ip/integer [0..32]; Default: none Internal address to redirect to.
Internal ports integer [0..65535]] | range of integers [0-655355]; Default: none Internal port(s) to redirect to May be specified as a single port or a range of ports. To specify a range use a dash ('-') symbol between two integer numbers.
Action allow | deny; Default: allow Allows or forbids the UPnP service to open the specified port.

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