mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
miniupnpd: Add configuration and scripts.
This commit is contained in:
47
config/miniupnpd/miniupnpd.conf
Normal file
47
config/miniupnpd/miniupnpd.conf
Normal file
@@ -0,0 +1,47 @@
|
||||
|
||||
# LAN network interfaces IPs / networks
|
||||
# there can be multiple listening ips for SSDP traffic.
|
||||
# should be under the form nnn.nnn.nnn.nnn/nn
|
||||
# HTTP is available on all interfaces
|
||||
# port for HTTP (descriptions and SOAP) traffic. set 0 for autoselect.
|
||||
port=0
|
||||
|
||||
# chain names for netfilter (not used for pf or ipf).
|
||||
upnp_forward_chain=UPNPFW
|
||||
upnp_nat_chain=UPNPFW
|
||||
|
||||
# bitrates reported by daemon in bits per second
|
||||
bitrate_up=1000000
|
||||
bitrate_down=10000000
|
||||
|
||||
# "secure" mode : when enabled, UPnP client are allowed to add mappings only
|
||||
# to their IP.
|
||||
secure_mode=yes
|
||||
|
||||
# report system uptime instead of daemon uptime
|
||||
system_uptime=yes
|
||||
|
||||
# notify interval in seconds. default is 30 seconds.
|
||||
notify_interval=60
|
||||
|
||||
# unused rules cleaning.
|
||||
# never remove any rule before this threshold for the number
|
||||
# of redirections is exceeded. default to 20
|
||||
#clean_ruleset_threshold=10
|
||||
# clean process work interval in seconds. default to 0 (disabled).
|
||||
# a 600 seconds (10 minutes) interval makes sense
|
||||
clean_ruleset_interval=600
|
||||
|
||||
# serial and model number the daemon will report to clients
|
||||
# in its XML description
|
||||
serial=12345678
|
||||
model_number=1
|
||||
|
||||
# UPnP permission rules
|
||||
# (allow|deny) (external port range) ip/mask (internal port range)
|
||||
# A port range is <min port>-<max port> or <port> if there is only
|
||||
# one port in the range.
|
||||
# ip/mask format must be nn.nn.nn.nn/nn
|
||||
# it is advised to only allow redirection of port above 1024
|
||||
# and to finish the rule set with "deny 0-65535 0.0.0.0/0 0-65535"
|
||||
allow 0-65535 0.0.0.0/0 0-65535
|
||||
Reference in New Issue
Block a user