From 600d0c76750a0430ae5594ea89a0340c7f0d9785 Mon Sep 17 00:00:00 2001 From: jack9603301 Date: Thu, 25 Mar 2021 19:11:46 +0800 Subject: upnpd: T3420: Add the UPnP command line --- interface-definitions/service_upnp.xml.in | 246 ++++++++++++++++++++++++++++++ 1 file changed, 246 insertions(+) create mode 100644 interface-definitions/service_upnp.xml.in (limited to 'interface-definitions') diff --git a/interface-definitions/service_upnp.xml.in b/interface-definitions/service_upnp.xml.in new file mode 100644 index 000000000..8d0a14d4e --- /dev/null +++ b/interface-definitions/service_upnp.xml.in @@ -0,0 +1,246 @@ + + + + + + + Universal Plug and Play (UPnP) service + 900 + + + + + Name of this service + + txt + Friendly name + + + + + + WAN network interface (REQUIRE) + + + + + + + + + + + WAN network IP + + ipv4 + IPv4 address + + + ipv6 + IPv6 address + + + + + + + + + + + Enable NAT-PMP support + + + + + + Enable Secure Mode + + + + + + Presentation Url + + txt + Presentation Url + + + + + + PCP-base lifetime Option + + + + + Max lifetime time + + + + + + + + Min lifetime time + + + + + + + + + + Local IP addresses for service to listen on + + + + + + <interface> + Monitor interface address + + + ipv4 + IP address to listen for incoming connections + + + ipv4-prefix + IP prefix to listen for incoming connections + + + ipv6 + IP address to listen for incoming connections + + + ipv6-prefix + IP prefix to listen for incoming connections + + + + + + + + + + + + + + Enable STUN probe support (can be used with NAT 1:1 support for WAN interfaces) + + + + + The STUN server address + + txt + The STUN server host address + + + stun.stunprotocol.org + stunprotocol + + + stun.sipgate.net + sipgate + + + stun.xten.com + xten + + + txt + other STUN Server + + + + + + The STUN server port + + txt + The STUN server port + + + + + + + + UPnP Rule + + + + + + + + Disable Rule + + + + + + Port range (REQUIRE) + + <port> + single port + + + <portN>-<portM> + Port range (use '-' as delimiter) + + + + + + + + + Port range (REQUIRE) + + <port> + single port + + + <portN>-<portM> + Port range (use '-' as delimiter) + + + + + + + + + The IP to which this rule applies (REQUIRE) + + ipv4 + The IPv4 to which this rule applies + + + + + + + + + Actions against the rule (REQUIRE) + + allow deny + + + ^(allow|deny)$ + + + + + + + + + + -- cgit v1.2.3