Template:Networking rut2xx upnp: Difference between revisions

From Teltonika Telematics Wiki
No edit summary
No edit summary
 
(14 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]]
123


==General Settings==
==General Settings==
Line 23: Line 24:
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Enable</td>
       <td>Enabled</td>
       <td>yes {{!}} no; Default: '''no'''</td>
       <td>no | yes; Default: '''no'''</td>
       <td>Toggles UPnP ON or OFF</td>
       <td>Toggles UPnP ON or OFF</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Use secure mode</td>
       <td>Enable secure mode</td>
       <td>yes {{!}} no; Default: '''yes'''</td>
       <td>no | yes; Default: '''yes'''</td>
       <td>Toggles Secure mode ON or OFF</td>
       <td>Toggles secure mode ON or OFF</td>
    </tr>
    <tr>
      <td>Enable additional logging</td>
      <td>no | yes; Default: '''no'''</td>
      <td>Puts extra debugging information into the system log</td>
    </tr>
    <tr>
      <td>Downlink</td>
      <td>integer; Default: '''1024'''</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>
      <td>Uplink</td>
      <td>integer; Default: '''512'''</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>
      <td>Port</td>
      <td>integer [1..65535]; Default: '''5000'''</td>
      <td>Port to listen for requests</td>
     </tr>
     </tr>
</table>
</table>
Line 45: Line 66:
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Use UPnP port mapping</td>
       <td>Report system instead of daemon uptime</td>
       <td>yes {{!}} no; Default: '''yes'''</td>
      <td>>no | yes; Default: '''yes'''</td>
       <td>Toggles UPnP port napping ON or OFF</td>
      <td>Use system uptime as UPnP uptime</td>
    </tr>
    <tr>
      <td>Device UUID</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>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Use NAT-PMP port mapping</td>
       <td>Announced serial number</td>
       <td>yes {{!}} no; Default: '''yes'''</td>
       <td>string; Default: " "</td>
       <td>Toggles NAT-PMP port mapping ON or OFF</td>
       <td>Specifies serial number for XML Root Desc.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Device UUID</td>
     <td>Announced model number</td>
         <td>yes {{!}} no; Default: '''yes'''</td>
         <td>string; Default: " "</td>
         <td>Specify Universal unique ID of the device</td>
        <td>Specifies model number for XML Root Desc.</td>
    </tr>
    <tr>
    <td>Notify interval</td>
        <td>integer; Default: " "</td>
        <td>Interval in which UPnP capable devices send a message to announce their services</td>
    </tr>
    <tr>
    <td>Clean ruler threshold</td>
        <td>integer; Default: " "</td>
        <td>Minimum number of redirections before clearing rules table of old (active) redirections</td>
    </tr>
    <tr>
    <td>Clean ruler interval</td>
        <td>integer; Default: " "</td>
        <td>Number of seconds before cleaning redirections</td>
    </tr>
    <tr>
    <td>Presentation URL</td>
        <td>string; Default: " "</td>
        <td>Presentation url used for the Root Desc.</td>
    </tr>
    <tr>
    <td>UPnP lease file</td>
        <td>string; Default: '''/var/upnp.leases'''</td>
         <td>Stores active UPnP redirects in a lease file (specified), like DHCP leases</td>
     </tr>
     </tr>
</table>
</table>


==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 76: Line 126:
     <tr>
     <tr>
       <td>Comment</td>
       <td>Comment</td>
       <td>string; 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>integer [0..65535]] {{!}} range of integers [0-65535]; 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>ip/integer [0..32]; 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>integer [0..65535]] {{!}} range of integers [0-655355]; 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>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}}} 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]]