* luci/libs/uvl: add "network" option to firewall scheme
[project/luci.git] / libs / uvl / root / lib / uci / schema / default / firewall
1 package firewall
2
3 config section
4         option name     'defaults'
5         option title    'Global firewall defaults'
6         option package  'firewall'
7         option unique   true
8         option required true
9
10 config variable
11         option name     'forward'
12         option title    'Action for forwarded traffic'
13         option section  'firewall.defaults'
14         option required true
15
16 config variable
17         option name     'input'
18         option title    'Action for incoming traffic'
19         option section  'firewall.defaults'
20         option required true
21
22 config variable
23         option name     'output'
24         option title    'Action for outgoing traffic'
25         option section  'firewall.defaults'
26         option required true
27
28 config variable
29         option name     'syn_flood'
30         option title    'Enable syn-flood protection'
31         option section  'firewall.defaults'
32         option datatype 'boolean'
33
34
35 config section
36         option name     'forwarding'
37         option title    'Firewall traffic forwarding rules'
38         option package  'firewall'
39
40 config variable
41         option name     'src'
42         option title    'Source zone'
43         option section  'firewall.forwarding'
44         option valueof  'firewall.zone.name'
45         option required true
46
47 config variable
48         option name     'dest'
49         option title    'Destination zone'
50         option section  'firewall.forwarding'
51         option valueof  'firewall.zone.name'
52         option required true
53
54
55 config section
56         option name     'zone'
57         option title    'Firewall zones'
58         option package  'firewall'
59
60 config variable
61         option name     'name'
62         option title    'Name of this firewall zone'
63         option section  'firewall.zone'
64         option required true
65
66 config variable
67         option name     'network'
68         option title    'Associated network of this firewall zone'
69         option section  'firewall.zone'
70 #       option valueof  'network.interface'
71 #       option type     'lazylist'
72
73 config variable
74         option name     'forward'
75         option title    'Zone specific action for forwarded traffic'
76         option section  'firewall.zone'
77         option required true
78
79 config variable
80         option name     'input'
81         option title    'Zone specific action for incoming traffic'
82         option section  'firewall.zone'
83         option required true
84
85 config variable
86         option name     'output'
87         option title    'Zone specific action for outgoing traffic'
88         option section  'firewall.zone'
89         option required true
90
91 config variable
92         option name     'masq'
93         option title    'Enable masquerading for outgoing zone traffic'
94         option section  'firewall.zone'
95         option datatype 'boolean'