5 option title 'Firewall zones'
6 option package 'firewall'
10 option title 'Name of this firewall zone'
11 option section 'firewall.zone'
16 option title 'Associated network of this firewall zone'
17 option section 'firewall.zone'
18 option valueof 'network.interface'
23 option title 'Zone specific action for forwarded traffic'
24 option section 'firewall.zone'
29 option title 'Zone specific action for incoming traffic'
30 option section 'firewall.zone'
35 option title 'Zone specific action for outgoing traffic'
36 option section 'firewall.zone'
41 option title 'Enable masquerading for outgoing zone traffic'
42 option section 'firewall.zone'
43 option datatype 'boolean'
48 option name 'defaults'
49 option title 'Global firewall defaults'
50 option package 'firewall'
56 option title 'Action for forwarded traffic'
57 option section 'firewall.defaults'
62 option title 'Action for incoming traffic'
63 option section 'firewall.defaults'
68 option title 'Action for outgoing traffic'
69 option section 'firewall.defaults'
73 option name 'syn_flood'
74 option title 'Enable syn-flood protection'
75 option section 'firewall.defaults'
76 option datatype 'boolean'
81 option name 'forwarding'
82 option title 'Firewall traffic forwarding rules'
83 option package 'firewall'
87 option title 'Source zone'
88 option section 'firewall.forwarding'
89 option valueof 'firewall.zone.name'
94 option title 'Destination zone'
95 option section 'firewall.forwarding'
96 option valueof 'firewall.zone.name'
103 option title 'Custom rule specification'
104 option package 'firewall'
105 list depends 'target, src'
106 list depends 'target, dest'
110 option title 'Source zone'
111 option section 'firewall.rule'
112 option valueof 'firewall.zone.name'
116 option title 'Source IP address'
117 option section 'firewall.rule'
118 option datatype 'ipaddr'
121 option name 'src_port'
122 option title 'Source port'
123 option section 'firewall.rule'
124 option datatype 'portrange'
127 option name 'src_mac'
128 option title 'Source MAC address'
129 option section 'firewall.rule'
130 option datatype 'macaddr'
134 option title 'Destination zone'
135 option section 'firewall.rule'
136 option valueof 'firewall.zone.name'
139 option name 'dest_ip'
140 option title 'Destination IP address'
141 option section 'firewall.rule'
142 option datatype 'ipaddr'
145 option name 'dest_port'
146 option title 'Destination port'
147 option section 'firewall.rule'
148 option datatype 'portrange'
152 option title 'Protocol'
153 option section 'firewall.rule'
154 option datatype 'string'
158 option title 'Option target'
159 option section 'firewall.rule'
160 option datatype 'string'
166 option name 'redirect'
167 option title 'Traffic redirection rule definition'
168 option package 'firewall'
172 option title 'Source zone'
173 option section 'firewall.redirect'
174 option valueof 'firewall.zone.name'
178 option title 'Source IP address'
179 option section 'firewall.redirect'
180 option datatype 'ipaddr'
183 option name 'src_port'
184 option title 'Source port'
185 option section 'firewall.redirect'
186 option datatype 'portrange'
189 option name 'src_dport'
190 option title 'Source destination port'
191 option section 'firewall.redirect'
192 option datatype 'portrange'
195 option name 'src_mac'
196 option title 'Option src_mac'
197 option section 'firewall.redirect'
198 option datatype 'macaddr'
202 option title 'Destination zone'
203 option section 'firewall.redirect'
204 option valueof 'firewall.zone.name'
207 option name 'dest_ip'
208 option title 'Destination IP address'
209 option section 'firewall.redirect'
210 option datatype 'ipaddr'
213 option name 'dest_port'
214 option title 'Destination port'
215 option section 'firewall.redirect'
216 option datatype 'portrange'
220 option title 'Protocol'
221 option section 'firewall.redirect'
222 option datatype 'string'
227 option name 'include'
228 option title 'User defined config includes'
229 option package 'firewall'
233 option title 'Path to the include file'
234 option section 'firewall.include'
235 option datatype 'file'