ports/net/miniupnp/miniupnpd/patches/patch-miniupnpd_conf

25 lines
1 KiB
Text

Index: miniupnpd.conf
--- miniupnpd.conf.orig
+++ miniupnpd.conf
@@ -155,7 +155,7 @@ clean_ruleset_interval=600
# active when compiled with PF_ENABLE_FILTER_RULES (see config.h file)
#quickrules=no
-# UUID, generate your own UUID with "make genuuid"
+# uuid : generate your own with uuid(1) or uuidgen(1)
uuid=00000000-0000-0000-0000-000000000000
# Daemon's serial and model number when reporting to clients
@@ -179,8 +179,8 @@ uuid=00000000-0000-0000-0000-000000000000
# modify the IP ranges to match their own internal networks, and
# also consider implementing network-specific restrictions
# CAUTION: failure to enforce any rules may permit insecure requests to be made!
-allow 1024-65535 192.168.0.0/24 1024-65535
-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 1024-65535 192.168.0.0/24 1024-65535
+#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
deny 0-65535 0.0.0.0/0 0-65535