miniupnpd.xml 4.29 KB
Newer Older
Ad Schellevis's avatar
Ad Schellevis committed
1 2
<?xml version="1.0" encoding="utf-8" ?>
<packagegui>
3
	<title>Services: Universal Plug and Play</title>
Ad Schellevis's avatar
Ad Schellevis committed
4 5 6 7 8 9 10 11 12 13 14
	<name>miniupnpd</name>
	<version>20100712</version>
	<service>
		<name>miniupnpd</name>
		<rcfile>miniupnpd.sh</rcfile>
		<executable>miniupnpd</executable>
	</service>
	<fields>
		<field>
			<name>UPnP &amp; NAT-PMP Settings</name>
			<type>listtopic</type>
15
			<enablefields>enable_upnp,enable_natpmp,iface_array,overridewanip,logpackets,sysuptime,permdefault,permuser1,permuser2,permuser3,permuser4</enablefields>
Ad Schellevis's avatar
Ad Schellevis committed
16 17 18 19 20
		</field>
		<field>
			<fielddescr>Enable UPnP &amp; NAT-PMP</fielddescr>
			<fieldname>enable</fieldname>
			<type>checkbox</type>
21
			<enablefields>enable_upnp,enable_natpmp,iface_array,overridewanip,logpackets,sysuptime,permdefault,permuser1,permuser2,permuser3,permuser4</enablefields>
22
		</field>
Ad Schellevis's avatar
Ad Schellevis committed
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
		<field>
			<fielddescr>Allow UPnP Port Mapping</fielddescr>
			<fieldname>enable_upnp</fieldname>
			<type>checkbox</type>
			<description>This protocol is often used by Microsoft-compatible systems.</description>
		</field>
		<field>
			<fielddescr>Allow NAT-PMP Port Mapping</fielddescr>
			<fieldname>enable_natpmp</fieldname>
			<type>checkbox</type>
			<description>This protocol is often used by Apple-compatible systems.</description>
		</field>
		<field>
			<fielddescr>External Interface (generally WAN)</fielddescr>
			<fieldname>ext_iface</fieldname>
			<default_value>wan</default_value>
			<size>3</size>
			<type>select_source</type>
			<source><![CDATA[get_pkg_interfaces_select_source(false)]]></source>
			<source_name>name</source_name>
			<source_value>value</source_value>
			<description>Select only your primary WAN interface (interface with your default route). Only one interface is allowed here, not multiple.</description>
			<required/>
		</field>
		<field>
			<fielddescr>Interfaces (generally LAN)</fielddescr>
			<fieldname>iface_array</fieldname>
			<default_value>lan</default_value>
			<multiple>true</multiple>
			<size>3</size>
			<type>select_source</type>
			<source><![CDATA[get_pkg_interfaces_select_source(true)]]></source>
			<source_name>name</source_name>
			<source_value>value</source_value>
			<description>You can use the CTRL or COMMAND key to select multiple interfaces.</description>
			<required/>
		</field>
		<field>
			<fielddescr>Maximum Download Speed (Kbits/second)</fielddescr>
			<fieldname>download</fieldname>
			<type>input</type>
		</field>
		<field>
			<fielddescr>Maximum Upload Speed (Kbits/second)</fielddescr>
			<fieldname>upload</fieldname>
			<type>input</type>
		</field>
		<field>
			<fielddescr>Override WAN address</fielddescr>
			<fieldname>overridewanip</fieldname>
			<type>input</type>
		</field>
		<field>
			<fielddescr>Log packets handled by UPnP &amp; NAT-PMP rules?</fielddescr>
			<fieldname>logpackets</fieldname>
			<type>checkbox</type>
		</field>
		<field>
			<fielddescr>Use system uptime instead of UPnP &amp; NAT-PMP service uptime?</fielddescr>
			<fieldname>sysuptime</fieldname>
			<type>checkbox</type>
		</field>
		<field>
			<fielddescr>By default deny access to UPnP &amp; NAT-PMP?</fielddescr>
			<fieldname>permdefault</fieldname>
			<type>checkbox</type>
		</field>
		<field>
			<fielddescr>User specified permissions 1</fielddescr>
			<fieldname>permuser1</fieldname>
			<description>Format: [allow or deny] [ext port or range] [int ipaddr or ipaddr/cdir] [int port or range]
			&lt;br /&gt;Example: allow 1024-65535 192.168.0.0/24 1024-65535</description>
			<type>input</type>
			<size>60</size>
		</field>
		<field>
			<fielddescr>User specified permissions 2</fielddescr>
			<fieldname>permuser2</fieldname>
			<description>Format: [allow or deny] [ext port or range] [int ipaddr or ipaddr/cdir] [int port or range]</description>
			<type>input</type>
			<size>60</size>
		</field>
		<field>
			<fielddescr>User specified permissions 3</fielddescr>
			<fieldname>permuser3</fieldname>
			<description>Format: [allow or deny] [ext port or range] [int ipaddr or ipaddr/cdir] [int port or range]</description>
			<type>input</type>
			<size>60</size>
		</field>
		<field>
			<fielddescr>User specified permissions 4</fielddescr>
			<fieldname>permuser4</fieldname>
			<description>Format: [allow or deny] [ext port or range] [int ipaddr or ipaddr/cdir] [int port or range]</description>
			<type>input</type>
			<size>60</size>
118
		</field>
Ad Schellevis's avatar
Ad Schellevis committed
119 120
	</fields>
</packagegui>