2011-09-28 19:13:20 +00:00
|
|
|
# WAN network interface
|
|
|
|
ext_ifname=eth1
|
|
|
|
#ext_ifname=xl1
|
|
|
|
# if the WAN interface has several IP addresses, you
|
|
|
|
# can specify the one to use below
|
|
|
|
#ext_ip=
|
|
|
|
|
|
|
|
# LAN network interfaces IPs / networks
|
|
|
|
# there can be multiple listening ips for SSDP traffic.
|
|
|
|
# should be under the form nnn.nnn.nnn.nnn/nn
|
2012-04-06 15:31:24 +00:00
|
|
|
# It can also be the network interface name (ie "eth0")
|
|
|
|
# It if mandatory to use the network interface name to enable IPv6
|
|
|
|
# HTTP is available on all interfaces.
|
2011-09-28 19:13:20 +00:00
|
|
|
# When MULTIPLE_EXTERNAL_IP is enabled, the external ip
|
|
|
|
# address associated with the subnet follows. for example :
|
|
|
|
# listening_ip=192.168.0.1/24 88.22.44.13
|
|
|
|
#listening_ip=192.168.0.1/24
|
2012-04-06 15:31:24 +00:00
|
|
|
listening_ip=192.168.10.109/24
|
|
|
|
#listening_ip=eth0
|
2011-09-28 19:13:20 +00:00
|
|
|
# port for HTTP (descriptions and SOAP) traffic. set 0 for autoselect.
|
2014-04-21 22:44:37 +00:00
|
|
|
http_port=0
|
|
|
|
# port for HTTPS. set to 0 for autoselect
|
|
|
|
#https_port=0
|
2011-09-28 19:13:20 +00:00
|
|
|
|
|
|
|
# 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=yes
|
|
|
|
|
|
|
|
# enable UPNP support (default is yes)
|
|
|
|
enable_upnp=yes
|
|
|
|
|
2013-07-09 13:36:53 +00:00
|
|
|
# configure minimal and maximal lifetime of the port mapping in seconds
|
|
|
|
# 120s and 86400s (24h) are suggested values from PCP-base
|
|
|
|
min_lifetime=120
|
|
|
|
max_lifetime=86400
|
|
|
|
|
2011-09-28 19:13:20 +00:00
|
|
|
# chain names for netfilter (not used for pf or ipf).
|
|
|
|
# default is MINIUPNPD for both
|
|
|
|
#upnp_forward_chain=forwardUPnP
|
|
|
|
#upnp_nat_chain=UPnP
|
|
|
|
|
|
|
|
# lease file location
|
|
|
|
#lease_file=/var/log/upnp.leases
|
|
|
|
|
2013-12-13 11:03:28 +00:00
|
|
|
# to enable the next few runtime options, see compile time
|
|
|
|
# ENABLE_MANUFACTURER_INFO_CONFIGURATION (config.h)
|
|
|
|
|
2013-10-20 21:02:19 +00:00
|
|
|
# name of this service, default is "`uname -s` router"
|
2012-02-04 23:24:13 +00:00
|
|
|
#friendly_name=MiniUPnPd router
|
|
|
|
|
2013-10-20 21:02:19 +00:00
|
|
|
# manufacturer name, default is "`uname -s`"
|
2013-12-13 11:03:28 +00:00
|
|
|
#manufacturer_name=Manufacturer corp
|
2013-10-20 21:02:19 +00:00
|
|
|
|
|
|
|
# manufacturer url, default is URL of OS verndor
|
2013-12-13 11:03:28 +00:00
|
|
|
#manufacturer_url=http://miniupnp.free.fr/
|
2013-10-20 21:02:19 +00:00
|
|
|
|
|
|
|
# model name, default is "`uname -s` router"
|
2013-12-13 11:03:28 +00:00
|
|
|
#model_name=Router Model
|
2013-10-20 21:02:19 +00:00
|
|
|
|
|
|
|
# model description, default is "`uname -s` router"
|
2013-12-13 11:03:28 +00:00
|
|
|
#model_description=Very Secure Router - Model
|
2013-10-20 21:02:19 +00:00
|
|
|
|
2013-12-13 11:03:28 +00:00
|
|
|
# model url, default is URL of OS vendor
|
|
|
|
#model_url=http://miniupnp.free.fr/
|
2013-10-20 21:02:19 +00:00
|
|
|
|
2011-09-28 19:13:20 +00:00
|
|
|
# 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
|
|
|
|
secure_mode=no
|
|
|
|
|
|
|
|
# default presentation url is http address on port 80
|
|
|
|
# If set to an empty string, no presentationURL element will appear
|
|
|
|
# in the XML description of the device, which prevents MS Windows
|
|
|
|
# from displaying an icon in the "Network Connections" panel.
|
|
|
|
#presentation_url=http://www.mylan/index.php
|
|
|
|
|
|
|
|
# report system uptime instead of daemon uptime
|
|
|
|
system_uptime=yes
|
|
|
|
|
|
|
|
# notify interval in seconds. default is 30 seconds.
|
|
|
|
#notify_interval=240
|
|
|
|
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
|
|
|
|
|
2012-02-03 12:14:10 +00:00
|
|
|
# log packets in pf (default is no)
|
2011-09-28 19:13:20 +00:00
|
|
|
#packet_log=no
|
|
|
|
|
2012-02-03 12:14:10 +00:00
|
|
|
# anchor name in pf (default is miniupnpd)
|
|
|
|
#anchor=miniupnpd
|
|
|
|
|
2011-09-28 19:13:20 +00:00
|
|
|
# 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
|
|
|
|
|
|
|
|
# tag name in pf
|
|
|
|
#tag=tag_name1
|
|
|
|
|
|
|
|
# make filter rules in pf quick or not. default is yes
|
|
|
|
# active when compiled with PF_ENABLE_FILTER_RULES (see config.h file)
|
|
|
|
#quickrules=no
|
|
|
|
|
|
|
|
# uuid : generate your own with "make genuuid"
|
|
|
|
uuid=3d3cec3a-8cf0-11e0-98ee-001a6bd2d07b
|
|
|
|
|
|
|
|
# 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 1024-65535 192.168.0.0/24 1024-65535
|
|
|
|
allow 1024-65535 192.168.1.0/24 1024-65535
|
|
|
|
allow 1024-65535 192.168.0.0/23 22
|
|
|
|
allow 12345 192.168.7.113/32 54321
|
|
|
|
deny 0-65535 0.0.0.0/0 0-65535
|
|
|
|
|