Annotation of embedaddon/miniupnpd/miniupnpd.conf, revision 1.1.1.1
1.1 misho 1: # WAN network interface
2: #ext_ifname=eth0
3: ext_ifname=xl1
4: # if the WAN interface has several IP addresses, you
5: # can specify the one to use below
6: #ext_ip=
7:
8: # LAN network interfaces IPs / networks
9: # there can be multiple listening ips for SSDP traffic.
10: # should be under the form nnn.nnn.nnn.nnn/nn
11: # HTTP is available on all interfaces
12: # When MULTIPLE_EXTERNAL_IP is enabled, the external ip
13: # address associated with the subnet follows. for example :
14: # listening_ip=192.168.0.1/24 88.22.44.13
15: listening_ip=192.168.0.1/24
16: listening_ip=192.168.1.1/24
17: #listening_ip=
18: # port for HTTP (descriptions and SOAP) traffic. set 0 for autoselect.
19: port=0
20:
21: # path to the unix socket used to communicate with MiniSSDPd
22: # If running, MiniSSDPd will manage M-SEARCH answering.
23: # default is /var/run/minissdpd.sock
24: #minissdpdsocket=/var/run/minissdpd.sock
25:
26: # enable NAT-PMP support (default is no)
27: enable_natpmp=yes
28:
29: # enable UPNP support (default is yes)
30: enable_upnp=yes
31:
32: # chain names for netfilter (not used for pf or ipf).
33: # default is MINIUPNPD for both
34: #upnp_forward_chain=forwardUPnP
35: #upnp_nat_chain=UPnP
36:
37: # lease file location
38: #lease_file=/var/log/upnp.leases
39:
40: # bitrates reported by daemon in bits per second
41: bitrate_up=1000000
42: bitrate_down=10000000
43:
44: # "secure" mode : when enabled, UPnP client are allowed to add mappings only
45: # to their IP.
46: #secure_mode=yes
47: secure_mode=no
48:
49: # default presentation url is http address on port 80
50: # If set to an empty string, no presentationURL element will appear
51: # in the XML description of the device, which prevents MS Windows
52: # from displaying an icon in the "Network Connections" panel.
53: #presentation_url=http://www.mylan/index.php
54:
55: # report system uptime instead of daemon uptime
56: system_uptime=yes
57:
58: # notify interval in seconds. default is 30 seconds.
59: #notify_interval=240
60: notify_interval=60
61:
62: # unused rules cleaning.
63: # never remove any rule before this threshold for the number
64: # of redirections is exceeded. default to 20
65: #clean_ruleset_threshold=10
66: # clean process work interval in seconds. default to 0 (disabled).
67: # a 600 seconds (10 minutes) interval makes sense
68: clean_ruleset_interval=600
69:
70: # log packets in pf
71: #packet_log=no
72:
73: # ALTQ queue in pf
74: # filter rules must be used for this to be used.
75: # compile with PF_ENABLE_FILTER_RULES (see config.h file)
76: #queue=queue_name1
77:
78: # tag name in pf
79: #tag=tag_name1
80:
81: # make filter rules in pf quick or not. default is yes
82: # active when compiled with PF_ENABLE_FILTER_RULES (see config.h file)
83: #quickrules=no
84:
85: # uuid : generate your own with "make genuuid"
86: uuid=fc4ec57e-b051-11db-88f8-0060085db3f6
87:
88: # serial and model number the daemon will report to clients
89: # in its XML description
90: serial=12345678
91: model_number=1
92:
93: # UPnP permission rules
94: # (allow|deny) (external port range) ip/mask (internal port range)
95: # A port range is <min port>-<max port> or <port> if there is only
96: # one port in the range.
97: # ip/mask format must be nn.nn.nn.nn/nn
98: # it is advised to only allow redirection of port above 1024
99: # and to finish the rule set with "deny 0-65535 0.0.0.0/0 0-65535"
100: allow 1024-65535 192.168.0.0/24 1024-65535
101: allow 1024-65535 192.168.1.0/24 1024-65535
102: allow 1024-65535 192.168.0.0/23 22
103: allow 12345 192.168.7.113/32 54321
104: deny 0-65535 0.0.0.0/0 0-65535
105:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>