Template:Networking rut2xx upnp: Difference between revisions

From Teltonika Telematics Wiki
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 8: Line 8:


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


[[File:{{{file_redirects}}}|border|class=tlt-border]]
[[File:{{{file_redirects}}}|border|class=tlt-border]]
Line 23: Line 25:
     <tr>
     <tr>
       <td>Enabled</td>
       <td>Enabled</td>
       <td>yes | no; default: '''no'''</td>
       <td>no | yes; Default: '''no'''</td>
       <td>Turns the UPNP service 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>yes | no; default: '''yes'''</td>
       <td>no | yes; Default: '''yes'''</td>
       <td>Allow adding forwards only to requesting IP addresses</td>
       <td>Toggles secure mode ON or OFF</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Enable additional logging</td>
       <td>Enable additional logging</td>
       <td>yes | no; default: '''no'''</td>
       <td>no | yes; 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>
       <td>Downlink</td>
       <td>Downlink</td>
       <td>Default: '''1024'''</td>
       <td>integer; Default: '''1024'''</td>
       <td>Value in KByte/s, informational only</td>
       <td>Bandwidth available for traffic coming in from the external interface in kilobytes per second. 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]].</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Uplink</td>
       <td>Uplink</td>
       <td>Default: '''512'''</td>
       <td>integer; Default: '''512'''</td>
       <td>Value in KByte/s, informational only</td>
       <td>Bandwidth available for traffic out the external interface in kilobytes per second. 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]].</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Port</td>
       <td>Port</td>
       <td>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>
Line 65: Line 67:
     <tr>
     <tr>
       <td>Report system instead of daemon uptime</td>
       <td>Report system instead of daemon uptime</td>
       <td>yes | no; default: '''no'''</td>
       <td>>no | yes; Default: '''yes'''</td>
       <td></td>
       <td>Use system uptime as UPnP uptime</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Device UUID</td>
       <td>Device UUID</td>
       <td></td>
       <td>string; Default: '''unique'''</td>
       <td></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></td>
       <td>string; Default: " "</td>
       <td></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></td>
        <td>string; Default: " "</td>
      <td></td>
        <td>Specifies model number for XML Root Desc.</td>
     </tr>
     </tr>
     <tr>
     <tr>
      <td>Notify interval</td>
    <td>Notify interval</td>
      <td></td>
        <td>integer; Default: " "</td>
      <td></td>
        <td>Interval in which UPnP capable devices send a message to announce their services</td>
     </tr>
     </tr>
     <tr>
     <tr>
      <td>Clean rules threshold</td>
    <td>Clean ruler threshold</td>
      <td></td>
        <td>integer; Default: " "</td>
      <td></td>
        <td>Minimum number of redirections before clearing rules table of old (active) redirections</td>
     </tr>
     </tr>
     <tr>
     <tr>
      <td>Clean rules interval</td>
    <td>Clean ruler interval</td>
      <td></td>
        <td>integer; Default: " "</td>
      <td></td>
        <td>Number of seconds before cleaning redirections</td>
     </tr>
     </tr>
     <tr>
     <tr>
      <td>Presentation URL</td>
    <td>Presentation URL</td>
      <td></td>
        <td>string; Default: " "</td>
      <td></td>
        <td>Presentation url used for the Root Desc.</td>
     </tr>
     </tr>
     <tr>
     <tr>
      <td>UPnP lease file</td>
    <td>UPnP lease file</td>
      <td></td>
        <td>string; Default: '''/var/upnp.leases'''</td>
      <td></td>
        <td>Stores active UPnP redirects in a lease file (specified), like DHCP leases</td>
     </tr>
     </tr>
</table>
</table>
Line 112: Line 114:
==UPnP ACLs==
==UPnP ACLs==


ACLs specify which external ports may be redirected to which internal addresses and ports
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


[[File:{{{file_ACLs}}}|border|class=tlt-border]]
[[File:{{{file_ACLs}}}|border|class=tlt-border]]
Line 124: Line 126:
     <tr>
     <tr>
       <td>Comment</td>
       <td>Comment</td>
       <td>Default: '''Allow high ports'''</td>
       <td>string; Default: " "</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>Default: '''1024-65535'''</td>
       <td>integer [0..65535]] | range of integers [0-65535]; Default: " "</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>Default: '''0.0.0.0/0'''</td>
         <td>ip/integer [0..32]; Default: " "</td>
         <td>Internal address to be redirect to</td>
         <td>Internal address to be redirect to</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Internal ports</td>
     <td>Internal ports</td>
         <td>Default: '''1024-65535'''</td>
         <td>integer [0..65535]] | range of integers [0-655355]; Default: " "</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 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>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Action</td>
     <td>Action</td>
         <td>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}}} WebUI]]

Latest revision as of 10:42, 10 February 2020

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 rutxxx manual fw disclosure

Active UPnP Redirects

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

[[File:{{{file_redirects}}}|border|class=tlt-border]]

General Settings

[[File:{{{file_settings1}}}|border|class=tlt-border]]

field name value description
Enabled no | yes; Default: no Toggles UPnP ON or OFF
Enable secure mode no | yes; Default: yes Toggles secure mode ON or OFF
Enable additional logging no | yes; 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 kilobytes per second. 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 kilobytes per second. 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

[[File:{{{file_settings2}}}|border|class=tlt-border]]

field name value description
Report system instead of daemon uptime >no | yes; 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: " " Specifies serial number for XML Root Desc.
Announced model number string; Default: " " Specifies model number for XML Root Desc.
Notify interval integer; Default: " " Interval in which UPnP capable devices send a message to announce their services
Clean ruler threshold integer; Default: " " Minimum number of redirections before clearing rules table of old (active) redirections
Clean ruler interval integer; Default: " " Number of seconds before cleaning redirections
Presentation URL string; Default: " " 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

[[File:{{{file_ACLs}}}|border|class=tlt-border]]

field name value description
Comment string; Default: " " Adds a comment to this rule
External ports integer [0..65535]] | range of integers [0-65535]; Default: " " 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: " " Internal address to be redirect to
Internal ports integer [0..65535]] | range of integers [0-655355]; Default: " " 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
Action allow | deny; Default: allow Allows or forbids the UPnP service to open the specified port

[[Category:{{{name}}} WebUI]]