diff --git a/net/upnp/Makefile b/net/upnp/Makefile index ad55189cf..44cfe30a3 100644 --- a/net/upnp/Makefile +++ b/net/upnp/Makefile @@ -1,6 +1,5 @@ PLUGIN_NAME= upnp -PLUGIN_VERSION= 1.5 -PLUGIN_REVISION= 6 +PLUGIN_VERSION= 1.6 PLUGIN_DEPENDS= miniupnpd PLUGIN_COMMENT= Universal Plug and Play (UPnP IGD & PCP/NAT-PMP) Service PLUGIN_MAINTAINER= franco@opnsense.org diff --git a/net/upnp/src/etc/inc/plugins.inc.d/miniupnpd.inc b/net/upnp/src/etc/inc/plugins.inc.d/miniupnpd.inc index 54a44a6c6..3fdf21214 100644 --- a/net/upnp/src/etc/inc/plugins.inc.d/miniupnpd.inc +++ b/net/upnp/src/etc/inc/plugins.inc.d/miniupnpd.inc @@ -232,7 +232,7 @@ function miniupnpd_configure_do($verbose = false) /* Allow UPnP IGD or PCP/NAT-PMP as requested */ $config_text .= "enable_upnp=" . ( $upnp_config['enable_upnp'] ? "yes\n" : "no\n" ); - $config_text .= "enable_natpmp=" . ( $upnp_config['enable_natpmp'] ? "yes\n" : "no\n" ); + $config_text .= "enable_pcp_pmp=" . ( $upnp_config['enable_natpmp'] ? "yes\n" : "no\n" ); /* configure lifetimes to force periodic expire */ $config_text .= "clean_ruleset_interval=600\n"; diff --git a/net/upnp/src/www/services_upnp.php b/net/upnp/src/www/services_upnp.php index 077c3bae7..e56e08a43 100644 --- a/net/upnp/src/www/services_upnp.php +++ b/net/upnp/src/www/services_upnp.php @@ -221,9 +221,12 @@ include("head.inc");
| =gettext("Port");?> | -=gettext("Protocol");?> | -=gettext("Internal IP");?> | -=gettext("Int. Port");?> | -=gettext("Description");?> | +=gettext("Interface")?> | +=gettext("Ext. Port")?> | +=gettext("Internal IP")?> | +=gettext("Int. Port")?> | +=gettext("Protocol")?> | +=gettext("Source IP")?> | +=gettext("Source Port")?> | +=gettext("Description")?> |
| =$rdr_port;?> | -=$rdr_proto;?> | -=$rdr_ip;?> | -=$rdr_iport;?> | -=$rdr_label;?> | += html_safe(convert_friendly_interface_to_friendly_descr(convert_real_interface_to_friendly_interface_name($matches['iface']))) ?> | += html_safe($matches['extport']) ?> | += html_safe($matches['intaddr']) ?> | += html_safe($matches['intport']) ?> | += html_safe(strtoupper($matches['proto'])) ?> | += html_safe($matches['srcaddr']) ?> | += html_safe($matches['srcport'] ?: "any") ?> | += html_safe($matches['descr']) ?> |
| + | ||||||||||||