Template:Networking rut2xx upnp: Difference between revisions

From Teltonika Telematics Wiki
No edit summary
No edit summary
Line 22: Line 22:
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Enabled</td>
       <td>Enable</td>
       <td>yes | no; default: '''no'''</td>
       <td>off | on; Default: '''off'''</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>Use secure mode</td>
       <td>yes | no; default: '''yes'''</td>
       <td>off | on; Default: '''on'''</td>
       <td>Allow adding forwards only to requesting IP addresses</td>
       <td>Toggles Secure mode ON or OFF</td>
    </tr>
    <tr>
      <td>Enable additional logging</td>
      <td>yes | no; default: '''no'''</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.</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.</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>Toggles Secure mode ON or OFF</td>
     </tr>
     </tr>
</table>
</table>
Line 62: Line 57:
       <th>value</th>
       <th>value</th>
       <th>description</th>
       <th>description</th>
    </tr>
    <tr>
      <td>Report system instead of daemon uptime</td>
      <td>yes | no; default: '''no'''</td>
      <td>Use system uptime as UPnP uptime</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Device UUID</td>
       <td>Device UUID</td>
       <td>Default:</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>Default:</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>Default:</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>Default: '''30'''</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>Default: '''20'''</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>Default: '''600'''</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>Default: '''http://192.168.1.1/'''</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>Default: '''/var/upnp.leases'''</td>
        <td>string; Default: '''/var/run/miniupnpd.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 102:
==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 114:
     <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]]

Revision as of 16:01, 7 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

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

General Settings

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

field name value description
Enable off | on; Default: off Toggles UPnP ON or OFF
Use secure mode off | on; Default: on Toggles Secure mode ON or OFF
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.
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.
Port integer [1..65535]; Default: 5000 Toggles Secure mode ON or OFF

Advanced Settings

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

field name value description
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/run/miniupnpd.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]]