mirror of
https://github.com/openwrt/packages.git
synced 2026-02-04 12:06:29 +08:00
Introduces the IPv6 Leases file by default. This file will display active IPv6 leases requested under the IPv6 PCP (Port Control Protocol) a.k.a IPv6 Pinholes. miniupnpd must be compiled with ENABLE_UPNPPINHOLE set for this to take effect. This is taken care of currently by setting CONFIG_IPV6. The lease file looks something like Proto;ClientIP;ClientPort;RemoteIP;RemotePort;UID;Timestamp;Description Signed-off-by: Michael Gray <michael.gray@lantisproject.com>
30 lines
754 B
Plaintext
30 lines
754 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 upnp_lease_file6 /var/run/miniupnpd.leases6
|
|
option igdv1 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"
|