You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
737 B

  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/run/miniupnpd.leases
  14. option igdv1 1
  15. option ext_ip_reserved_ignore '1'
  16. config perm_rule
  17. option action allow
  18. option ext_ports 1024-65535
  19. option int_addr 0.0.0.0/0 # Does not override secure_mode
  20. option int_ports 1024-65535
  21. option comment "Allow high ports"
  22. config perm_rule
  23. option action deny
  24. option ext_ports 0-65535
  25. option int_addr 0.0.0.0/0
  26. option int_ports 0-65535
  27. option comment "Default deny"