upnpd.config 719 B

123456789101112131415161718192021222324252627
  1. config upnpd config
  2. option enabled 0
  3. option enable_natpmp 1
  4. option enable_upnp 1
  5. option secure_mode 1
  6. option log_output 0
  7. option download 1024
  8. option upload 512
  9. #by default, looked up dynamically from ubus
  10. #option external_iface wan
  11. option internal_iface lan
  12. option port 5000
  13. option upnp_lease_file /var/upnp.leases
  14. config perm_rule
  15. option action allow
  16. option ext_ports 1024-65535
  17. option int_addr 0.0.0.0/0 # Does not override secure_mode
  18. option int_ports 1024-65535
  19. option comment "Allow high ports"
  20. config perm_rule
  21. option action deny
  22. option ext_ports 0-65535
  23. option int_addr 0.0.0.0/0
  24. option int_ports 0-65535
  25. option comment "Default deny"