* luci/libs: uvl: first round of uci schemes
[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 'forward'
68 option title 'Zone specific action for forwarded traffic'
69 option section 'firewall.zone'
70 option required true
71
72 config variable
73 option name 'input'
74 option title 'Zone specific action for incoming traffic'
75 option section 'firewall.zone'
76 option required true
77
78 config variable
79 option name 'output'
80 option title 'Zone specific action for outgoing traffic'
81 option section 'firewall.zone'
82 option required true
83
84 config variable
85 option name 'masq'
86 option title 'Enable masquerading for outgoing zone traffic'
87 option section 'firewall.zone'
88 option datatype 'boolean'