4b084c8308
PR: 133854 Submitted by: Tor Halvard Furulund <squat@squat.no> (maintainer)
70 lines
2 KiB
Text
70 lines
2 KiB
Text
# WAN network interface
|
|
ext_ifname=ed0
|
|
# if the WAN interface has several IP addresses, you
|
|
# can specify the one to use below
|
|
#ext_ip=
|
|
|
|
# there can be multiple listening ips for receiving SSDP traffic.
|
|
# the 1st IP is also used for UPnP Soap traffic.
|
|
#listening_ip= 192.168.0.61
|
|
listening_ip=10.0.2.1
|
|
|
|
# port for HTTP (descriptions and SOAP) traffic. set 0 for autoselect.
|
|
port=5555
|
|
|
|
# path to the unix socket used to communicate with MiniSSDPd
|
|
# If running, MiniSSDPd will manage M-SEARCH answering.
|
|
# default is /var/run/minissdpd.sock
|
|
#minissdpdsocket=/var/run/minissdpd.sock
|
|
|
|
# enable NAT-PMP support (default is no)
|
|
#enable_natpmp=no
|
|
|
|
# lease file location
|
|
#lease_file=/var/log/upnp.leases
|
|
|
|
# bitrates reported by daemon in bits per second
|
|
bitrate_up=131072
|
|
bitrate_down=524288
|
|
|
|
# "secure" mode : when enabled, UPnP client are allowed to add mappings only
|
|
# to their IP. (default is yes)
|
|
#secure_mode=yes
|
|
|
|
# default presentation url is http address on port 80
|
|
#presentation_url=
|
|
|
|
# report system uptime instead of daemon uptime
|
|
system_uptime=yes
|
|
|
|
# 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
|
|
|
|
# notify interval in seconds default is 30 seconds.
|
|
#notify_interval=240
|
|
|
|
# log packets in pf
|
|
#packet_log=no
|
|
# ALTQ queue in pf
|
|
# filter rules must be used for this to be used.
|
|
# compile with PF_ENABLE_FILTER_RULES (see config.h file)
|
|
#queue=queue_name1
|
|
|
|
# uuid : generated by the install a new one can be created with
|
|
# uuidgen
|
|
uuid=%%UUID%%
|
|
|
|
# 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
|
|
allow 1024-65535 10.0.2.0/24 1024-65535
|
|
allow 1024-65535 10.0.2.0/24 1024-65535
|
|
deny 0-65535 0.0.0.0/0 0-65535
|
|
|