mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
808a67b35d
This add an option to ignore ext_ip reserved
Enable this option in config by default.
Fixes: #13773
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
(cherry picked from commit b76aa99194)
30 lines
737 B
Plaintext
30 lines
737 B
Plaintext
config upnpd config
|
|
option enabled 0
|
|
option enable_natpmp 1
|
|
option enable_upnp 1
|
|
option secure_mode 1
|
|
option log_output 0
|
|
option download 1024
|
|
option upload 512
|
|
#by default, looked up dynamically from ubus
|
|
# option external_iface wan
|
|
option internal_iface lan
|
|
option port 5000
|
|
option upnp_lease_file /var/run/miniupnpd.leases
|
|
option igdv1 1
|
|
option ext_ip_reserved_ignore '1'
|
|
|
|
config perm_rule
|
|
option action allow
|
|
option ext_ports 1024-65535
|
|
option int_addr 0.0.0.0/0 # Does not override secure_mode
|
|
option int_ports 1024-65535
|
|
option comment "Allow high ports"
|
|
|
|
config perm_rule
|
|
option action deny
|
|
option ext_ports 0-65535
|
|
option int_addr 0.0.0.0/0
|
|
option int_ports 0-65535
|
|
option comment "Default deny"
|