add a custom configuration file (from: #1180), remove trivial comments from init...
[openwrt/svn-archive/archive.git] / net / linuxigd / files / upnpd.conf
1 #
2 # The full path and name of the iptables executable,
3 # (enclosed in quotes).
4 #
5 iptables_location = "/usr/sbin/iptables"
6
7 #
8 # Daemon debug level. Messages are logged via syslog to debug.
9 # 0 - no debug messages
10 # 1 - log errors
11 # 2 - log errors and basic info
12 # 3 - log errors and verbose info
13 # default = 0
14 debug_mode = 2
15
16 #
17 # Should the daemon insert rules in the forward chain
18 # This is necessary if your firewall has a drop or reject
19 # policy in your forward chain.
20 # allowed values: yes,no
21 # default = no
22 insert_forward_rules = yes
23
24 #
25 # The name of the chain to put the forward rules in.
26 # This directive is only activ if "insert_forward_rules = yes"
27 # above.
28 # allowed values: a-z, A-Z, _, -
29 # default = FORWARD
30 forward_chain_name = forwarding_wan
31
32 #
33 # The name of the chain to put prerouting rules in.
34 # allowed values: a-z, A-Z, _, -
35 # default = PREROUTING
36 prerouting_chain_name = PREROUTING
37
38 #
39 # The internet line upstream bit rate reported from
40 # the daemon. Value in bits per second
41 # default = 0
42 upstream_bitrate = 512000
43
44 #
45 # The internet line downstream bit rate reported from
46 # the daemon. Value in bits per second
47 # default = 0
48 downstream_bitrate = 512000
49
50 #
51 # The default duration of port mappings, used when the client
52 # doesn't specify a duration.
53 # Can have the following values:
54 # 0 - no default duration specified
55 # seconds | HH:MM - duration from the time of addition
56 # @seconds | @HH:MM - expire mapping at the specified time of day
57 # default = 0
58 duration = 0
59
60 # The name of the igd device xml description document
61 # default = gatedesc.xml
62 description_document_name = gatedesc.xml
63
64 # The path to the xml documents
65 # Do not include the trailing "/"
66 # default = /etc/linuxigd
67 # WARNING! The make install does put the xml files
68 # in /etc/linuxigd, if you change this variable
69 # you have to make sure the xml docs are in the
70 # right place
71 xml_document_path = /etc/linuxigd