From 82f954059f919029fe9f117b70e1a46490b9a834 Mon Sep 17 00:00:00 2001
From: Tyler Wear <twear@codeaurora.org>
Date: Fri, 29 Apr 2016 10:17:30 -0700
Subject: [PATCH 1/1] security-fix

---
 miniupnpd.conf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/miniupnpd.conf b/miniupnpd.conf
index 39003be..077294c 100644
--- a/miniupnpd.conf
+++ b/miniupnpd.conf
@@ -81,7 +81,7 @@ friendly_name=9x45 MobileAP UPnP
 # "secure" mode : when enabled, UPnP client are allowed to add mappings only
 # to their IP.
 #secure_mode=yes
-secure_mode=no
+secure_mode=yes
 
 # default presentation url is http address on port 80
 # If set to an empty string, no presentationURL element will appear
@@ -146,5 +146,5 @@ uuid=1a7872a9-92bc-4661-8a70-69370a908d12
 #allow 1024-65535 192.168.1.0/24 1024-65535
 #allow 1024-65535 192.168.0.0/23 22
 #allow 12345 192.168.7.113/32 54321
-allow 0-65535 0.0.0.0/0 0-65535
-
+allow 1024-65535 0.0.0.0/0 1024-65535
+deny 0-65535 0.0.0.0/0 0-65535
-- 
1.8.2.1

