dump 136 KB
Newer Older
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1
2
3
4
5
6
7
8
9
10
Dnat 1                 {"in":["_fw","A"]}
(zone)                 
  inet/nat/OUTPUT      -j REDIRECT
  inet/nat/PREROUTING  -i eth0 -j REDIRECT

Dnat 2                 {"in":"B"}
(zone)                 
  inet/nat/PREROUTING  -i eth1 -s 10.0.0.0/12 -j REDIRECT


Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
Filter 1                          {}
(filter)                          
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Filter 2                          {"action":"accept"}
(filter)                          
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Filter 3                          {"action":"drop"}
(filter)                          
  inet/filter/FORWARD             -j logdrop-0
  inet6/filter/FORWARD            -j logdrop-0
  inet/filter/INPUT               -j logdrop-0
  inet6/filter/INPUT              -j logdrop-0
  inet/filter/OUTPUT              -j logdrop-0
  inet6/filter/OUTPUT             -j logdrop-0
  inet/filter/logdrop-0           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-0          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-0           -j DROP
  inet6/filter/logdrop-0          -j DROP

Filter 4                          {"action":"pass"}
(filter)                          
  inet/filter/FORWARD             
  inet6/filter/FORWARD            
  inet/filter/INPUT               
  inet6/filter/INPUT              
  inet/filter/OUTPUT              
  inet6/filter/OUTPUT             

Filter 5                          {"action":"reject"}
(filter)                          
  inet/filter/FORWARD             -j logreject-0
  inet6/filter/FORWARD            -j logreject-0
  inet/filter/INPUT               -j logreject-0
  inet6/filter/INPUT              -j logreject-0
  inet/filter/OUTPUT              -j logreject-0
  inet6/filter/OUTPUT             -j logreject-0
  inet/filter/logreject-0         -m limit --limit 1/second -j LOG
  inet6/filter/logreject-0        -m limit --limit 1/second -j LOG
  inet/filter/logreject-0         -j REJECT
  inet6/filter/logreject-0        -j REJECT

Filter 6                          {"action":"tarpit"}
(filter)                          
  inet/filter/FORWARD             -j logtarpit-0
  inet6/filter/FORWARD            -j logtarpit-0
  inet/filter/INPUT               -j logtarpit-0
  inet6/filter/INPUT              -j logtarpit-0
  inet/filter/OUTPUT              -j logtarpit-0
  inet6/filter/OUTPUT             -j logtarpit-0
  inet/filter/logtarpit-0         -m limit --limit 1/second -j LOG
  inet6/filter/logtarpit-0        -m limit --limit 1/second -j LOG
  inet/filter/logtarpit-0         -j tarpit
  inet6/filter/logtarpit-0        -j tarpit
  inet/raw/PREROUTING             -j CT --notrack
  inet6/raw/PREROUTING            -j CT --notrack
  inet/raw/OUTPUT                 -j CT --notrack
  inet6/raw/OUTPUT                -j CT --notrack

Filter 7                          {"conn-limit":1}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-0
  inet6/filter/FORWARD            -j limit-0
  inet/filter/INPUT               -j limit-0
  inet6/filter/INPUT              -j limit-0
  inet/filter/OUTPUT              -j limit-0
  inet6/filter/OUTPUT             -j limit-0
  inet/filter/limit-0             -m recent --name limit-0 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-1
  inet6/filter/limit-0            -m recent --name limit-0 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-1
  inet/filter/logdrop-1           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-1          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-1           -j DROP
  inet6/filter/logdrop-1          -j DROP
  inet/filter/limit-0             -m recent --name limit-0 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-0            -m recent --name limit-0 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT

Filter 8                          {"action":"pass","conn-limit":1}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-1
  inet6/filter/FORWARD            -j limit-1
  inet/filter/INPUT               -j limit-1
  inet6/filter/INPUT              -j limit-1
  inet/filter/OUTPUT              -j limit-1
  inet6/filter/OUTPUT             -j limit-1
  inet/filter/limit-1             -m recent --name limit-1 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-2
  inet6/filter/limit-1            -m recent --name limit-1 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-2
  inet/filter/logdrop-2           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-2          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-2           -j DROP
  inet6/filter/logdrop-2          -j DROP
  inet/filter/limit-1             -m recent --name limit-1 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-1            -m recent --name limit-1 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Filter 9                          {"conn-limit":1,"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-2
  inet6/filter/FORWARD            -j limit-2
  inet/filter/INPUT               -j limit-2
  inet6/filter/INPUT              -j limit-2
  inet/filter/OUTPUT              -j limit-2
  inet6/filter/OUTPUT             -j limit-2
  inet/filter/limit-2             -m recent --name limit-2 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-3
  inet6/filter/limit-2            -m recent --name limit-2 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-3
  inet/filter/logdrop-3           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-3          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-3           -j DROP
  inet6/filter/logdrop-3          -j DROP
  inet/filter/limit-2             -m limit --limit 1/second -j LOG
  inet6/filter/limit-2            -m limit --limit 1/second -j LOG
  inet/filter/limit-2             -m recent --name limit-2 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-2            -m recent --name limit-2 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT

Filter 10                         {"action":"pass","conn-limit":1,"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-3
  inet6/filter/FORWARD            -j limit-3
  inet/filter/INPUT               -j limit-3
  inet6/filter/INPUT              -j limit-3
  inet/filter/OUTPUT              -j limit-3
  inet6/filter/OUTPUT             -j limit-3
  inet/filter/limit-3             -m recent --name limit-3 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-4
  inet6/filter/limit-3            -m recent --name limit-3 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-4
  inet/filter/logdrop-4           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-4          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-4           -j DROP
  inet6/filter/logdrop-4          -j DROP
  inet/filter/limit-3             -m recent --name limit-3 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-3            -m recent --name limit-3 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
151
Filter 11                         {"conn-limit":1,"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
152
153
154
155
156
157
158
(filter-limit)                    
  inet/filter/FORWARD             -j limit-4
  inet6/filter/FORWARD            -j limit-4
  inet/filter/INPUT               -j limit-4
  inet6/filter/INPUT              -j limit-4
  inet/filter/OUTPUT              -j limit-4
  inet6/filter/OUTPUT             -j limit-4
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
159
160
161
162
163
164
  inet/filter/limit-4             -m recent --name limit-4 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-5
  inet6/filter/limit-4            -m recent --name limit-4 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-5
  inet/filter/logdrop-5           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-5          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-5           -j DROP
  inet6/filter/logdrop-5          -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
165
166
167
  inet/filter/limit-4             -m recent --name limit-4 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-4            -m recent --name limit-4 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
168
Filter 12                         {"action":"pass","conn-limit":1,"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
169
170
171
172
173
174
175
(filter-limit)                    
  inet/filter/FORWARD             -j limit-5
  inet6/filter/FORWARD            -j limit-5
  inet/filter/INPUT               -j limit-5
  inet6/filter/INPUT              -j limit-5
  inet/filter/OUTPUT              -j limit-5
  inet6/filter/OUTPUT             -j limit-5
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
176
177
178
179
180
181
  inet/filter/limit-5             -m recent --name limit-5 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-6
  inet6/filter/limit-5            -m recent --name limit-5 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-6
  inet/filter/logdrop-6           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-6          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-6           -j DROP
  inet6/filter/logdrop-6          -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
182
183
184
  inet/filter/limit-5             -m recent --name limit-5 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-5            -m recent --name limit-5 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
185
Filter 13                         {"conn-limit":{"count":1,"log":false}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
186
187
188
189
190
191
192
193
194
195
196
197
(filter-limit)                    
  inet/filter/FORWARD             -j limit-6
  inet6/filter/FORWARD            -j limit-6
  inet/filter/INPUT               -j limit-6
  inet6/filter/INPUT              -j limit-6
  inet/filter/OUTPUT              -j limit-6
  inet6/filter/OUTPUT             -j limit-6
  inet/filter/limit-6             -m recent --name limit-6 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-6            -m recent --name limit-6 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-6             -m recent --name limit-6 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-6            -m recent --name limit-6 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
198
Filter 14                         {"action":"pass","conn-limit":{"count":1,"log":false}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
199
200
201
202
203
204
205
206
207
(filter-limit)                    
  inet/filter/FORWARD             -j limit-7
  inet6/filter/FORWARD            -j limit-7
  inet/filter/INPUT               -j limit-7
  inet6/filter/INPUT              -j limit-7
  inet/filter/OUTPUT              -j limit-7
  inet6/filter/OUTPUT             -j limit-7
  inet/filter/limit-7             -m recent --name limit-7 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-7            -m recent --name limit-7 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
208
209
  inet/filter/limit-7             -m recent --name limit-7 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-7            -m recent --name limit-7 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
210

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
211
Filter 15                         {"conn-limit":{"count":1,"log":false},"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
212
213
214
215
216
217
218
(filter-limit)                    
  inet/filter/FORWARD             -j limit-8
  inet6/filter/FORWARD            -j limit-8
  inet/filter/INPUT               -j limit-8
  inet6/filter/INPUT              -j limit-8
  inet/filter/OUTPUT              -j limit-8
  inet6/filter/OUTPUT             -j limit-8
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
219
220
  inet/filter/limit-8             -m recent --name limit-8 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-8            -m recent --name limit-8 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
221
222
  inet/filter/limit-8             -m limit --limit 1/second -j LOG
  inet6/filter/limit-8            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
223
224
  inet/filter/limit-8             -m recent --name limit-8 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-8            -m recent --name limit-8 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
225

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
226
Filter 16                         {"action":"pass","conn-limit":{"count":1,"log":false},"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
227
228
229
230
231
232
233
(filter-limit)                    
  inet/filter/FORWARD             -j limit-9
  inet6/filter/FORWARD            -j limit-9
  inet/filter/INPUT               -j limit-9
  inet6/filter/INPUT              -j limit-9
  inet/filter/OUTPUT              -j limit-9
  inet6/filter/OUTPUT             -j limit-9
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
234
235
236
237
238
239
  inet/filter/limit-9             -m recent --name limit-9 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-9            -m recent --name limit-9 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-9             -m recent --name limit-9 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-9            -m recent --name limit-9 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG

Filter 17                         {"conn-limit":{"count":1,"log":false},"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
240
241
242
243
244
245
246
(filter-limit)                    
  inet/filter/FORWARD             -j limit-10
  inet6/filter/FORWARD            -j limit-10
  inet/filter/INPUT               -j limit-10
  inet6/filter/INPUT              -j limit-10
  inet/filter/OUTPUT              -j limit-10
  inet6/filter/OUTPUT             -j limit-10
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
247
248
249
250
  inet/filter/limit-10            -m recent --name limit-10 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-10           -m recent --name limit-10 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-10            -m recent --name limit-10 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-10           -m recent --name limit-10 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
251

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
252
Filter 18                         {"action":"pass","conn-limit":{"count":1,"log":false},"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
253
254
255
256
257
258
259
(filter-limit)                    
  inet/filter/FORWARD             -j limit-11
  inet6/filter/FORWARD            -j limit-11
  inet/filter/INPUT               -j limit-11
  inet6/filter/INPUT              -j limit-11
  inet/filter/OUTPUT              -j limit-11
  inet6/filter/OUTPUT             -j limit-11
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
260
261
262
263
  inet/filter/limit-11            -m recent --name limit-11 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-11           -m recent --name limit-11 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-11            -m recent --name limit-11 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-11           -m recent --name limit-11 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
264

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
265
Filter 19                         {"conn-limit":{"count":1,"log":"none"}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
266
267
268
269
270
271
272
(filter-limit)                    
  inet/filter/FORWARD             -j limit-12
  inet6/filter/FORWARD            -j limit-12
  inet/filter/INPUT               -j limit-12
  inet6/filter/INPUT              -j limit-12
  inet/filter/OUTPUT              -j limit-12
  inet6/filter/OUTPUT             -j limit-12
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
273
274
275
276
  inet/filter/limit-12            -m recent --name limit-12 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-12           -m recent --name limit-12 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-12            -m recent --name limit-12 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-12           -m recent --name limit-12 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
277

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
278
Filter 20                         {"action":"pass","conn-limit":{"count":1,"log":"none"}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
279
280
281
282
283
284
285
(filter-limit)                    
  inet/filter/FORWARD             -j limit-13
  inet6/filter/FORWARD            -j limit-13
  inet/filter/INPUT               -j limit-13
  inet6/filter/INPUT              -j limit-13
  inet/filter/OUTPUT              -j limit-13
  inet6/filter/OUTPUT             -j limit-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
286
287
288
289
  inet/filter/limit-13            -m recent --name limit-13 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-13           -m recent --name limit-13 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-13            -m recent --name limit-13 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-13           -m recent --name limit-13 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
290

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
291
Filter 21                         {"conn-limit":{"count":1,"log":"none"},"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
292
293
294
295
296
297
298
(filter-limit)                    
  inet/filter/FORWARD             -j limit-14
  inet6/filter/FORWARD            -j limit-14
  inet/filter/INPUT               -j limit-14
  inet6/filter/INPUT              -j limit-14
  inet/filter/OUTPUT              -j limit-14
  inet6/filter/OUTPUT             -j limit-14
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
299
300
301
302
303
304
305
306
  inet/filter/limit-14            -m recent --name limit-14 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-14           -m recent --name limit-14 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-14            -m limit --limit 1/second -j LOG
  inet6/filter/limit-14           -m limit --limit 1/second -j LOG
  inet/filter/limit-14            -m recent --name limit-14 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-14           -m recent --name limit-14 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT

Filter 22                         {"action":"pass","conn-limit":{"count":1,"log":"none"},"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
307
308
309
310
311
312
313
(filter-limit)                    
  inet/filter/FORWARD             -j limit-15
  inet6/filter/FORWARD            -j limit-15
  inet/filter/INPUT               -j limit-15
  inet6/filter/INPUT              -j limit-15
  inet/filter/OUTPUT              -j limit-15
  inet6/filter/OUTPUT             -j limit-15
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
314
315
316
317
  inet/filter/limit-15            -m recent --name limit-15 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-15           -m recent --name limit-15 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-15            -m recent --name limit-15 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-15           -m recent --name limit-15 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
318

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
319
Filter 23                         {"conn-limit":{"count":1,"log":"none"},"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
320
321
322
323
324
325
326
(filter-limit)                    
  inet/filter/FORWARD             -j limit-16
  inet6/filter/FORWARD            -j limit-16
  inet/filter/INPUT               -j limit-16
  inet6/filter/INPUT              -j limit-16
  inet/filter/OUTPUT              -j limit-16
  inet6/filter/OUTPUT             -j limit-16
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
327
328
329
330
  inet/filter/limit-16            -m recent --name limit-16 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-16           -m recent --name limit-16 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-16            -m recent --name limit-16 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-16           -m recent --name limit-16 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
331

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
332
Filter 24                         {"action":"pass","conn-limit":{"count":1,"log":"none"},"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
333
334
335
336
337
338
339
(filter-limit)                    
  inet/filter/FORWARD             -j limit-17
  inet6/filter/FORWARD            -j limit-17
  inet/filter/INPUT               -j limit-17
  inet6/filter/INPUT              -j limit-17
  inet/filter/OUTPUT              -j limit-17
  inet6/filter/OUTPUT             -j limit-17
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
340
341
342
343
  inet/filter/limit-17            -m recent --name limit-17 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-17           -m recent --name limit-17 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-17            -m recent --name limit-17 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-17           -m recent --name limit-17 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
344

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
345
Filter 25                         {"conn-limit":30}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
346
347
348
349
350
351
352
(filter-limit)                    
  inet/filter/FORWARD             -j limit-18
  inet6/filter/FORWARD            -j limit-18
  inet/filter/INPUT               -j limit-18
  inet6/filter/INPUT              -j limit-18
  inet/filter/OUTPUT              -j limit-18
  inet6/filter/OUTPUT             -j limit-18
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
353
354
355
356
357
358
359
360
  inet/filter/limit-18            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-18 -j ACCEPT
  inet6/filter/limit-18           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-18 -j ACCEPT
  inet/filter/limit-18            -m limit --limit 1/second -j LOG
  inet6/filter/limit-18           -m limit --limit 1/second -j LOG
  inet/filter/limit-18            -j DROP
  inet6/filter/limit-18           -j DROP

Filter 26                         {"action":"pass","conn-limit":30}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
361
362
363
364
365
366
367
(filter-limit)                    
  inet/filter/FORWARD             -j limit-19
  inet6/filter/FORWARD            -j limit-19
  inet/filter/INPUT               -j limit-19
  inet6/filter/INPUT              -j limit-19
  inet/filter/OUTPUT              -j limit-19
  inet6/filter/OUTPUT             -j limit-19
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
368
369
370
371
372
373
374
375
  inet/filter/limit-19            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-19 -j RETURN
  inet6/filter/limit-19           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-19 -j RETURN
  inet/filter/limit-19            -m limit --limit 1/second -j LOG
  inet6/filter/limit-19           -m limit --limit 1/second -j LOG
  inet/filter/limit-19            -j DROP
  inet6/filter/limit-19           -j DROP

Filter 27                         {"conn-limit":30,"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
376
377
378
379
380
381
382
(filter-limit)                    
  inet/filter/FORWARD             -j limit-20
  inet6/filter/FORWARD            -j limit-20
  inet/filter/INPUT               -j limit-20
  inet6/filter/INPUT              -j limit-20
  inet/filter/OUTPUT              -j limit-20
  inet6/filter/OUTPUT             -j limit-20
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
383
384
385
386
387
388
389
390
391
392
  inet/filter/limit-20            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-20 -j logaccept-0
  inet6/filter/limit-20           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-20 -j logaccept-0
  inet/filter/logaccept-0         -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-0        -m limit --limit 1/second -j LOG
  inet/filter/logaccept-0         -j ACCEPT
  inet6/filter/logaccept-0        -j ACCEPT
  inet/filter/limit-20            -m limit --limit 1/second -j LOG
  inet6/filter/limit-20           -m limit --limit 1/second -j LOG
  inet/filter/limit-20            -j DROP
  inet6/filter/limit-20           -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
393

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
394
Filter 28                         {"conn-limit":30,"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
395
396
397
398
399
400
401
(filter-limit)                    
  inet/filter/FORWARD             -j limit-21
  inet6/filter/FORWARD            -j limit-21
  inet/filter/INPUT               -j limit-21
  inet6/filter/INPUT              -j limit-21
  inet/filter/OUTPUT              -j limit-21
  inet6/filter/OUTPUT             -j limit-21
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
402
403
404
405
406
407
408
409
  inet/filter/limit-21            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-21 -j ACCEPT
  inet6/filter/limit-21           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-21 -j ACCEPT
  inet/filter/limit-21            -m limit --limit 1/second -j LOG
  inet6/filter/limit-21           -m limit --limit 1/second -j LOG
  inet/filter/limit-21            -j DROP
  inet6/filter/limit-21           -j DROP

Filter 29                         {"conn-limit":{"count":30,"log":false}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
410
411
412
413
414
415
416
(filter-limit)                    
  inet/filter/FORWARD             -j limit-22
  inet6/filter/FORWARD            -j limit-22
  inet/filter/INPUT               -j limit-22
  inet6/filter/INPUT              -j limit-22
  inet/filter/OUTPUT              -j limit-22
  inet6/filter/OUTPUT             -j limit-22
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
417
418
  inet/filter/limit-22            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-22 -j ACCEPT
  inet6/filter/limit-22           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-22 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
419
420
421
  inet/filter/limit-22            -j DROP
  inet6/filter/limit-22           -j DROP

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
422
Filter 30                         {"action":"pass","conn-limit":{"count":30,"log":false}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
423
424
425
426
427
428
429
430
431
432
433
434
(filter-limit)                    
  inet/filter/FORWARD             -j limit-23
  inet6/filter/FORWARD            -j limit-23
  inet/filter/INPUT               -j limit-23
  inet6/filter/INPUT              -j limit-23
  inet/filter/OUTPUT              -j limit-23
  inet6/filter/OUTPUT             -j limit-23
  inet/filter/limit-23            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-23 -j RETURN
  inet6/filter/limit-23           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-23 -j RETURN
  inet/filter/limit-23            -j DROP
  inet6/filter/limit-23           -j DROP

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
435
Filter 31                         {"conn-limit":{"count":30,"log":false},"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
436
437
438
439
440
441
442
(filter-limit)                    
  inet/filter/FORWARD             -j limit-24
  inet6/filter/FORWARD            -j limit-24
  inet/filter/INPUT               -j limit-24
  inet6/filter/INPUT              -j limit-24
  inet/filter/OUTPUT              -j limit-24
  inet6/filter/OUTPUT             -j limit-24
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
443
444
445
446
447
448
  inet/filter/limit-24            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-24 -j logaccept-1
  inet6/filter/limit-24           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-24 -j logaccept-1
  inet/filter/logaccept-1         -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-1        -m limit --limit 1/second -j LOG
  inet/filter/logaccept-1         -j ACCEPT
  inet6/filter/logaccept-1        -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
449
450
451
  inet/filter/limit-24            -j DROP
  inet6/filter/limit-24           -j DROP

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
452
Filter 32                         {"conn-limit":{"count":30,"log":false},"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
453
454
455
456
457
458
459
(filter-limit)                    
  inet/filter/FORWARD             -j limit-25
  inet6/filter/FORWARD            -j limit-25
  inet/filter/INPUT               -j limit-25
  inet6/filter/INPUT              -j limit-25
  inet/filter/OUTPUT              -j limit-25
  inet6/filter/OUTPUT             -j limit-25
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
460
461
  inet/filter/limit-25            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-25 -j ACCEPT
  inet6/filter/limit-25           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-25 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
462
463
464
  inet/filter/limit-25            -j DROP
  inet6/filter/limit-25           -j DROP

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
465
Filter 33                         {"conn-limit":{"count":30,"log":"none"}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
466
467
468
469
470
471
472
(filter-limit)                    
  inet/filter/FORWARD             -j limit-26
  inet6/filter/FORWARD            -j limit-26
  inet/filter/INPUT               -j limit-26
  inet6/filter/INPUT              -j limit-26
  inet/filter/OUTPUT              -j limit-26
  inet6/filter/OUTPUT             -j limit-26
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
473
474
  inet/filter/limit-26            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-26 -j ACCEPT
  inet6/filter/limit-26           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-26 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
475
476
477
  inet/filter/limit-26            -j DROP
  inet6/filter/limit-26           -j DROP

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
478
Filter 34                         {"action":"pass","conn-limit":{"count":30,"log":"none"}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
479
480
481
482
483
484
485
486
487
488
489
(filter-limit)                    
  inet/filter/FORWARD             -j limit-27
  inet6/filter/FORWARD            -j limit-27
  inet/filter/INPUT               -j limit-27
  inet6/filter/INPUT              -j limit-27
  inet/filter/OUTPUT              -j limit-27
  inet6/filter/OUTPUT             -j limit-27
  inet/filter/limit-27            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-27 -j RETURN
  inet6/filter/limit-27           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-27 -j RETURN
  inet/filter/limit-27            -j DROP
  inet6/filter/limit-27           -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894

Filter 35                         {"conn-limit":{"count":30,"log":"none"},"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-28
  inet6/filter/FORWARD            -j limit-28
  inet/filter/INPUT               -j limit-28
  inet6/filter/INPUT              -j limit-28
  inet/filter/OUTPUT              -j limit-28
  inet6/filter/OUTPUT             -j limit-28
  inet/filter/limit-28            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-28 -j logaccept-2
  inet6/filter/limit-28           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-28 -j logaccept-2
  inet/filter/logaccept-2         -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-2        -m limit --limit 1/second -j LOG
  inet/filter/logaccept-2         -j ACCEPT
  inet6/filter/logaccept-2        -j ACCEPT
  inet/filter/limit-28            -j DROP
  inet6/filter/limit-28           -j DROP

Filter 36                         {"conn-limit":{"count":30,"log":"none"},"log":"none"}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-29
  inet6/filter/FORWARD            -j limit-29
  inet/filter/INPUT               -j limit-29
  inet6/filter/INPUT              -j limit-29
  inet/filter/OUTPUT              -j limit-29
  inet6/filter/OUTPUT             -j limit-29
  inet/filter/limit-29            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-29 -j ACCEPT
  inet6/filter/limit-29           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-29 -j ACCEPT
  inet/filter/limit-29            -j DROP
  inet6/filter/limit-29           -j DROP

Filter 37                         {"flow-limit":1}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-30
  inet6/filter/FORWARD            -j limit-30
  inet/filter/INPUT               -j limit-30
  inet6/filter/INPUT              -j limit-30
  inet/filter/OUTPUT              -j limit-30
  inet6/filter/OUTPUT             -j limit-30
  inet/filter/limit-30            -m recent --name limit-30 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-7
  inet6/filter/limit-30           -m recent --name limit-30 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-7
  inet/filter/logdrop-7           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-7          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-7           -j DROP
  inet6/filter/logdrop-7          -j DROP
  inet/filter/limit-30            -m recent --name limit-30 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-30           -m recent --name limit-30 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Filter 38                         {"action":"pass","flow-limit":1}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-31
  inet6/filter/FORWARD            -j limit-31
  inet/filter/INPUT               -j limit-31
  inet6/filter/INPUT              -j limit-31
  inet/filter/OUTPUT              -j limit-31
  inet6/filter/OUTPUT             -j limit-31
  inet/filter/limit-31            -m recent --name limit-31 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-8
  inet6/filter/limit-31           -m recent --name limit-31 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-8
  inet/filter/logdrop-8           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-8          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-8           -j DROP
  inet6/filter/logdrop-8          -j DROP
  inet/filter/limit-31            -m recent --name limit-31 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-31           -m recent --name limit-31 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Filter 39                         {"flow-limit":1,"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-32
  inet6/filter/FORWARD            -j limit-32
  inet/filter/INPUT               -j limit-32
  inet6/filter/INPUT              -j limit-32
  inet/filter/OUTPUT              -j limit-32
  inet6/filter/OUTPUT             -j limit-32
  inet/filter/limit-32            -m recent --name limit-32 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-9
  inet6/filter/limit-32           -m recent --name limit-32 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-9
  inet/filter/logdrop-9           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-9          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-9           -j DROP
  inet6/filter/logdrop-9          -j DROP
  inet/filter/limit-32            -m recent --name limit-32 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-32           -m recent --name limit-32 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD             -j logaccept-final-0
  inet6/filter/FORWARD            -j logaccept-final-0
  inet/filter/INPUT               -j logaccept-final-0
  inet6/filter/INPUT              -j logaccept-final-0
  inet/filter/OUTPUT              -j logaccept-final-0
  inet6/filter/OUTPUT             -j logaccept-final-0
  inet/filter/logaccept-final-0   -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-final-0  -m limit --limit 1/second -j LOG
  inet/filter/logaccept-final-0   -j ACCEPT
  inet6/filter/logaccept-final-0  -j ACCEPT

Filter 40                         {"action":"pass","flow-limit":1,"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-33
  inet6/filter/FORWARD            -j limit-33
  inet/filter/INPUT               -j limit-33
  inet6/filter/INPUT              -j limit-33
  inet/filter/OUTPUT              -j limit-33
  inet6/filter/OUTPUT             -j limit-33
  inet/filter/limit-33            -m recent --name limit-33 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-10
  inet6/filter/limit-33           -m recent --name limit-33 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-10
  inet/filter/logdrop-10          -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-10         -m limit --limit 1/second -j LOG
  inet/filter/logdrop-10          -j DROP
  inet6/filter/logdrop-10         -j DROP
  inet/filter/limit-33            -m recent --name limit-33 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-33           -m recent --name limit-33 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG

Filter 41                         {"flow-limit":1,"log":"none"}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-34
  inet6/filter/FORWARD            -j limit-34
  inet/filter/INPUT               -j limit-34
  inet6/filter/INPUT              -j limit-34
  inet/filter/OUTPUT              -j limit-34
  inet6/filter/OUTPUT             -j limit-34
  inet/filter/limit-34            -m recent --name limit-34 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-11
  inet6/filter/limit-34           -m recent --name limit-34 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-11
  inet/filter/logdrop-11          -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-11         -m limit --limit 1/second -j LOG
  inet/filter/logdrop-11          -j DROP
  inet6/filter/logdrop-11         -j DROP
  inet/filter/limit-34            -m recent --name limit-34 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-34           -m recent --name limit-34 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Filter 42                         {"action":"pass","flow-limit":1,"log":"none"}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-35
  inet6/filter/FORWARD            -j limit-35
  inet/filter/INPUT               -j limit-35
  inet6/filter/INPUT              -j limit-35
  inet/filter/OUTPUT              -j limit-35
  inet6/filter/OUTPUT             -j limit-35
  inet/filter/limit-35            -m recent --name limit-35 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-12
  inet6/filter/limit-35           -m recent --name limit-35 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-12
  inet/filter/logdrop-12          -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-12         -m limit --limit 1/second -j LOG
  inet/filter/logdrop-12          -j DROP
  inet6/filter/logdrop-12         -j DROP
  inet/filter/limit-35            -m recent --name limit-35 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-35           -m recent --name limit-35 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Filter 43                         {"flow-limit":{"count":1,"log":false}}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-36
  inet6/filter/FORWARD            -j limit-36
  inet/filter/INPUT               -j limit-36
  inet6/filter/INPUT              -j limit-36
  inet/filter/OUTPUT              -j limit-36
  inet6/filter/OUTPUT             -j limit-36
  inet/filter/limit-36            -m recent --name limit-36 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-36           -m recent --name limit-36 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-36            -m recent --name limit-36 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-36           -m recent --name limit-36 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Filter 44                         {"action":"pass","flow-limit":{"count":1,"log":false}}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-37
  inet6/filter/FORWARD            -j limit-37
  inet/filter/INPUT               -j limit-37
  inet6/filter/INPUT              -j limit-37
  inet/filter/OUTPUT              -j limit-37
  inet6/filter/OUTPUT             -j limit-37
  inet/filter/limit-37            -m recent --name limit-37 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-37           -m recent --name limit-37 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-37            -m recent --name limit-37 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-37           -m recent --name limit-37 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Filter 45                         {"flow-limit":{"count":1,"log":false},"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-38
  inet6/filter/FORWARD            -j limit-38
  inet/filter/INPUT               -j limit-38
  inet6/filter/INPUT              -j limit-38
  inet/filter/OUTPUT              -j limit-38
  inet6/filter/OUTPUT             -j limit-38
  inet/filter/limit-38            -m recent --name limit-38 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-38           -m recent --name limit-38 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-38            -m recent --name limit-38 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-38           -m recent --name limit-38 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD             -j logaccept-final-1
  inet6/filter/FORWARD            -j logaccept-final-1
  inet/filter/INPUT               -j logaccept-final-1
  inet6/filter/INPUT              -j logaccept-final-1
  inet/filter/OUTPUT              -j logaccept-final-1
  inet6/filter/OUTPUT             -j logaccept-final-1
  inet/filter/logaccept-final-1   -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-final-1  -m limit --limit 1/second -j LOG
  inet/filter/logaccept-final-1   -j ACCEPT
  inet6/filter/logaccept-final-1  -j ACCEPT

Filter 46                         {"action":"pass","flow-limit":{"count":1,"log":false},"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-39
  inet6/filter/FORWARD            -j limit-39
  inet/filter/INPUT               -j limit-39
  inet6/filter/INPUT              -j limit-39
  inet/filter/OUTPUT              -j limit-39
  inet6/filter/OUTPUT             -j limit-39
  inet/filter/limit-39            -m recent --name limit-39 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-39           -m recent --name limit-39 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-39            -m recent --name limit-39 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-39           -m recent --name limit-39 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG

Filter 47                         {"flow-limit":{"count":1,"log":false},"log":"none"}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-40
  inet6/filter/FORWARD            -j limit-40
  inet/filter/INPUT               -j limit-40
  inet6/filter/INPUT              -j limit-40
  inet/filter/OUTPUT              -j limit-40
  inet6/filter/OUTPUT             -j limit-40
  inet/filter/limit-40            -m recent --name limit-40 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-40           -m recent --name limit-40 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-40            -m recent --name limit-40 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-40           -m recent --name limit-40 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Filter 48                         {"action":"pass","flow-limit":{"count":1,"log":false},"log":"none"}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-41
  inet6/filter/FORWARD            -j limit-41
  inet/filter/INPUT               -j limit-41
  inet6/filter/INPUT              -j limit-41
  inet/filter/OUTPUT              -j limit-41
  inet6/filter/OUTPUT             -j limit-41
  inet/filter/limit-41            -m recent --name limit-41 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-41           -m recent --name limit-41 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-41            -m recent --name limit-41 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-41           -m recent --name limit-41 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Filter 49                         {"flow-limit":{"count":1,"log":"none"}}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-42
  inet6/filter/FORWARD            -j limit-42
  inet/filter/INPUT               -j limit-42
  inet6/filter/INPUT              -j limit-42
  inet/filter/OUTPUT              -j limit-42
  inet6/filter/OUTPUT             -j limit-42
  inet/filter/limit-42            -m recent --name limit-42 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-42           -m recent --name limit-42 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-42            -m recent --name limit-42 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-42           -m recent --name limit-42 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Filter 50                         {"action":"pass","flow-limit":{"count":1,"log":"none"}}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-43
  inet6/filter/FORWARD            -j limit-43
  inet/filter/INPUT               -j limit-43
  inet6/filter/INPUT              -j limit-43
  inet/filter/OUTPUT              -j limit-43
  inet6/filter/OUTPUT             -j limit-43
  inet/filter/limit-43            -m recent --name limit-43 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-43           -m recent --name limit-43 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-43            -m recent --name limit-43 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-43           -m recent --name limit-43 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Filter 51                         {"flow-limit":{"count":1,"log":"none"},"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-44
  inet6/filter/FORWARD            -j limit-44
  inet/filter/INPUT               -j limit-44
  inet6/filter/INPUT              -j limit-44
  inet/filter/OUTPUT              -j limit-44
  inet6/filter/OUTPUT             -j limit-44
  inet/filter/limit-44            -m recent --name limit-44 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-44           -m recent --name limit-44 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-44            -m recent --name limit-44 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-44           -m recent --name limit-44 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD             -j logaccept-final-2
  inet6/filter/FORWARD            -j logaccept-final-2
  inet/filter/INPUT               -j logaccept-final-2
  inet6/filter/INPUT              -j logaccept-final-2
  inet/filter/OUTPUT              -j logaccept-final-2
  inet6/filter/OUTPUT             -j logaccept-final-2
  inet/filter/logaccept-final-2   -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-final-2  -m limit --limit 1/second -j LOG
  inet/filter/logaccept-final-2   -j ACCEPT
  inet6/filter/logaccept-final-2  -j ACCEPT

Filter 52                         {"action":"pass","flow-limit":{"count":1,"log":"none"},"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-45
  inet6/filter/FORWARD            -j limit-45
  inet/filter/INPUT               -j limit-45
  inet6/filter/INPUT              -j limit-45
  inet/filter/OUTPUT              -j limit-45
  inet6/filter/OUTPUT             -j limit-45
  inet/filter/limit-45            -m recent --name limit-45 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-45           -m recent --name limit-45 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-45            -m recent --name limit-45 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-45           -m recent --name limit-45 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG

Filter 53                         {"flow-limit":{"count":1,"log":"none"},"log":"none"}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-46
  inet6/filter/FORWARD            -j limit-46
  inet/filter/INPUT               -j limit-46
  inet6/filter/INPUT              -j limit-46
  inet/filter/OUTPUT              -j limit-46
  inet6/filter/OUTPUT             -j limit-46
  inet/filter/limit-46            -m recent --name limit-46 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-46           -m recent --name limit-46 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-46            -m recent --name limit-46 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-46           -m recent --name limit-46 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Filter 54                         {"action":"pass","flow-limit":{"count":1,"log":"none"},"log":"none"}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-47
  inet6/filter/FORWARD            -j limit-47
  inet/filter/INPUT               -j limit-47
  inet6/filter/INPUT              -j limit-47
  inet/filter/OUTPUT              -j limit-47
  inet6/filter/OUTPUT             -j limit-47
  inet/filter/limit-47            -m recent --name limit-47 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-47           -m recent --name limit-47 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-47            -m recent --name limit-47 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-47           -m recent --name limit-47 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Filter 55                         {"flow-limit":30}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-48
  inet6/filter/FORWARD            -j limit-48
  inet/filter/INPUT               -j limit-48
  inet6/filter/INPUT              -j limit-48
  inet/filter/OUTPUT              -j limit-48
  inet6/filter/OUTPUT             -j limit-48
  inet/filter/limit-48            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-48 -j RETURN
  inet6/filter/limit-48           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-48 -j RETURN
  inet/filter/limit-48            -m limit --limit 1/second -j LOG
  inet6/filter/limit-48           -m limit --limit 1/second -j LOG
  inet/filter/limit-48            -j DROP
  inet6/filter/limit-48           -j DROP
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Filter 56                         {"action":"pass","flow-limit":30}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-49
  inet6/filter/FORWARD            -j limit-49
  inet/filter/INPUT               -j limit-49
  inet6/filter/INPUT              -j limit-49
  inet/filter/OUTPUT              -j limit-49
  inet6/filter/OUTPUT             -j limit-49
  inet/filter/limit-49            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-49 -j RETURN
  inet6/filter/limit-49           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-49 -j RETURN
  inet/filter/limit-49            -m limit --limit 1/second -j LOG
  inet6/filter/limit-49           -m limit --limit 1/second -j LOG
  inet/filter/limit-49            -j DROP
  inet6/filter/limit-49           -j DROP

Filter 57                         {"flow-limit":30,"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-50
  inet6/filter/FORWARD            -j limit-50
  inet/filter/INPUT               -j limit-50
  inet6/filter/INPUT              -j limit-50
  inet/filter/OUTPUT              -j limit-50
  inet6/filter/OUTPUT             -j limit-50
  inet/filter/limit-50            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-50 -j RETURN
  inet6/filter/limit-50           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-50 -j RETURN
  inet/filter/limit-50            -m limit --limit 1/second -j LOG
  inet6/filter/limit-50           -m limit --limit 1/second -j LOG
  inet/filter/limit-50            -j DROP
  inet6/filter/limit-50           -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
895
896
897
898
899
900
901
902
903
904
905
  inet/filter/FORWARD             -j logaccept-final-3
  inet6/filter/FORWARD            -j logaccept-final-3
  inet/filter/INPUT               -j logaccept-final-3
  inet6/filter/INPUT              -j logaccept-final-3
  inet/filter/OUTPUT              -j logaccept-final-3
  inet6/filter/OUTPUT             -j logaccept-final-3
  inet/filter/logaccept-final-3   -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-final-3  -m limit --limit 1/second -j LOG
  inet/filter/logaccept-final-3   -j ACCEPT
  inet6/filter/logaccept-final-3  -j ACCEPT

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
Filter 58                         {"flow-limit":30,"log":"none"}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-51
  inet6/filter/FORWARD            -j limit-51
  inet/filter/INPUT               -j limit-51
  inet6/filter/INPUT              -j limit-51
  inet/filter/OUTPUT              -j limit-51
  inet6/filter/OUTPUT             -j limit-51
  inet/filter/limit-51            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-51 -j RETURN
  inet6/filter/limit-51           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-51 -j RETURN
  inet/filter/limit-51            -m limit --limit 1/second -j LOG
  inet6/filter/limit-51           -m limit --limit 1/second -j LOG
  inet/filter/limit-51            -j DROP
  inet6/filter/limit-51           -j DROP
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Filter 59                         {"flow-limit":{"count":30,"log":false}}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-52
  inet6/filter/FORWARD            -j limit-52
  inet/filter/INPUT               -j limit-52
  inet6/filter/INPUT              -j limit-52
  inet/filter/OUTPUT              -j limit-52
  inet6/filter/OUTPUT             -j limit-52
  inet/filter/limit-52            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-52 -j RETURN
  inet6/filter/limit-52           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-52 -j RETURN
  inet/filter/limit-52            -j DROP
  inet6/filter/limit-52           -j DROP
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Filter 60                         {"action":"pass","flow-limit":{"count":30,"log":false}}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-53
  inet6/filter/FORWARD            -j limit-53
  inet/filter/INPUT               -j limit-53
  inet6/filter/INPUT              -j limit-53
  inet/filter/OUTPUT              -j limit-53
  inet6/filter/OUTPUT             -j limit-53
  inet/filter/limit-53            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-53 -j RETURN
  inet6/filter/limit-53           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-53 -j RETURN
  inet/filter/limit-53            -j DROP
  inet6/filter/limit-53           -j DROP

Filter 61                         {"flow-limit":{"count":30,"log":false},"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-54
  inet6/filter/FORWARD            -j limit-54
  inet/filter/INPUT               -j limit-54
  inet6/filter/INPUT              -j limit-54
  inet/filter/OUTPUT              -j limit-54
  inet6/filter/OUTPUT             -j limit-54
  inet/filter/limit-54            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-54 -j RETURN
  inet6/filter/limit-54           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-54 -j RETURN
  inet/filter/limit-54            -j DROP
  inet6/filter/limit-54           -j DROP
  inet/filter/FORWARD             -j logaccept-final-4
  inet6/filter/FORWARD            -j logaccept-final-4
  inet/filter/INPUT               -j logaccept-final-4
  inet6/filter/INPUT              -j logaccept-final-4
  inet/filter/OUTPUT              -j logaccept-final-4
  inet6/filter/OUTPUT             -j logaccept-final-4
  inet/filter/logaccept-final-4   -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-final-4  -m limit --limit 1/second -j LOG
  inet/filter/logaccept-final-4   -j ACCEPT
  inet6/filter/logaccept-final-4  -j ACCEPT

Filter 62                         {"flow-limit":{"count":30,"log":false},"log":"none"}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-55
  inet6/filter/FORWARD            -j limit-55
  inet/filter/INPUT               -j limit-55
  inet6/filter/INPUT              -j limit-55
  inet/filter/OUTPUT              -j limit-55
  inet6/filter/OUTPUT             -j limit-55
  inet/filter/limit-55            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-55 -j RETURN
  inet6/filter/limit-55           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-55 -j RETURN
  inet/filter/limit-55            -j DROP
  inet6/filter/limit-55           -j DROP
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Filter 63                         {"flow-limit":{"count":30,"log":"none"}}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-56
  inet6/filter/FORWARD            -j limit-56
  inet/filter/INPUT               -j limit-56
  inet6/filter/INPUT              -j limit-56
  inet/filter/OUTPUT              -j limit-56
  inet6/filter/OUTPUT             -j limit-56
  inet/filter/limit-56            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-56 -j RETURN
  inet6/filter/limit-56           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-56 -j RETURN
  inet/filter/limit-56            -j DROP
  inet6/filter/limit-56           -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1013
1014
1015
1016
1017
1018
1019
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
Filter 64                         {"action":"pass","flow-limit":{"count":30,"log":"none"}}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-57
  inet6/filter/FORWARD            -j limit-57
  inet/filter/INPUT               -j limit-57
  inet6/filter/INPUT              -j limit-57
  inet/filter/OUTPUT              -j limit-57
  inet6/filter/OUTPUT             -j limit-57
  inet/filter/limit-57            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-57 -j RETURN
  inet6/filter/limit-57           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-57 -j RETURN
  inet/filter/limit-57            -j DROP
  inet6/filter/limit-57           -j DROP

Filter 65                         {"flow-limit":{"count":30,"log":"none"},"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-58
  inet6/filter/FORWARD            -j limit-58
  inet/filter/INPUT               -j limit-58
  inet6/filter/INPUT              -j limit-58
  inet/filter/OUTPUT              -j limit-58
  inet6/filter/OUTPUT             -j limit-58
  inet/filter/limit-58            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-58 -j RETURN
  inet6/filter/limit-58           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-58 -j RETURN
  inet/filter/limit-58            -j DROP
  inet6/filter/limit-58           -j DROP
  inet/filter/FORWARD             -j logaccept-final-5
  inet6/filter/FORWARD            -j logaccept-final-5
  inet/filter/INPUT               -j logaccept-final-5
  inet6/filter/INPUT              -j logaccept-final-5
  inet/filter/OUTPUT              -j logaccept-final-5
  inet6/filter/OUTPUT             -j logaccept-final-5
  inet/filter/logaccept-final-5   -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-final-5  -m limit --limit 1/second -j LOG
  inet/filter/logaccept-final-5   -j ACCEPT
  inet6/filter/logaccept-final-5  -j ACCEPT

Filter 66                         {"flow-limit":{"count":30,"log":"none"},"log":"none"}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-59
  inet6/filter/FORWARD            -j limit-59
  inet/filter/INPUT               -j limit-59
  inet6/filter/INPUT              -j limit-59
  inet/filter/OUTPUT              -j limit-59
  inet6/filter/OUTPUT             -j limit-59
  inet/filter/limit-59            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-59 -j RETURN
  inet6/filter/limit-59           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-59 -j RETURN
  inet/filter/limit-59            -j DROP
  inet6/filter/limit-59           -j DROP
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Filter 67                         {}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1076
(log)                             
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1077
1078
1079
1080
1081
1082
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1083

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
Filter 68                         {"action":"drop"}
(log)                             
  inet/filter/FORWARD             -j logdrop-13
  inet6/filter/FORWARD            -j logdrop-13
  inet/filter/INPUT               -j logdrop-13
  inet6/filter/INPUT              -j logdrop-13
  inet/filter/OUTPUT              -j logdrop-13
  inet6/filter/OUTPUT             -j logdrop-13
  inet/filter/logdrop-13          -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-13         -m limit --limit 1/second -j LOG
  inet/filter/logdrop-13          -j DROP
  inet6/filter/logdrop-13         -j DROP

Filter 69                         {"action":"pass"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1098
1099
1100
1101
1102
1103
1104
1105
(log)                             
  inet/filter/FORWARD             
  inet6/filter/FORWARD            
  inet/filter/INPUT               
  inet6/filter/INPUT              
  inet/filter/OUTPUT              
  inet6/filter/OUTPUT             

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1106
Filter 70                         {"log":false}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1107
1108
1109
1110
1111
1112
1113
1114
(log)                             
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1115
Filter 71                         {"action":"drop","log":false}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1116
1117
1118
1119
1120
1121
1122
1123
(log)                             
  inet/filter/FORWARD             -j DROP
  inet6/filter/FORWARD            -j DROP
  inet/filter/INPUT               -j DROP
  inet6/filter/INPUT              -j DROP
  inet/filter/OUTPUT              -j DROP
  inet6/filter/OUTPUT             -j DROP

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1124
Filter 72                         {"action":"pass","log":false}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1125
1126
1127
1128
1129
1130
1131
1132
(log)                             
  inet/filter/FORWARD             
  inet6/filter/FORWARD            
  inet/filter/INPUT               
  inet6/filter/INPUT              
  inet/filter/OUTPUT              
  inet6/filter/OUTPUT             

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1133
Filter 73                         {"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1134
(log)                             
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
  inet/filter/FORWARD             -j logaccept-3
  inet6/filter/FORWARD            -j logaccept-3
  inet/filter/INPUT               -j logaccept-3
  inet6/filter/INPUT              -j logaccept-3
  inet/filter/OUTPUT              -j logaccept-3
  inet6/filter/OUTPUT             -j logaccept-3
  inet/filter/logaccept-3         -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-3        -m limit --limit 1/second -j LOG
  inet/filter/logaccept-3         -j ACCEPT
  inet6/filter/logaccept-3        -j ACCEPT

Filter 74                         {"action":"drop","log":true}
(log)                             
  inet/filter/FORWARD             -j logdrop-14
  inet6/filter/FORWARD            -j logdrop-14
  inet/filter/INPUT               -j logdrop-14
  inet6/filter/INPUT              -j logdrop-14
  inet/filter/OUTPUT              -j logdrop-14
  inet6/filter/OUTPUT             -j logdrop-14
  inet/filter/logdrop-14          -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-14         -m limit --limit 1/second -j LOG
  inet/filter/logdrop-14          -j DROP
  inet6/filter/logdrop-14         -j DROP

Filter 75                         {"action":"pass","log":true}
(log)                             
  inet/filter/FORWARD             -j logpass-0
  inet6/filter/FORWARD            -j logpass-0
  inet/filter/INPUT               -j logpass-0
  inet6/filter/INPUT              -j logpass-0
  inet/filter/OUTPUT              -j logpass-0
  inet6/filter/OUTPUT             -j logpass-0
  inet/filter/logpass-0           -m limit --limit 1/second -j LOG
  inet6/filter/logpass-0          -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1169

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1170
Filter 76                         {"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1171
(log)                             
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Filter 77                         {"action":"drop","log":"none"}
(log)                             
  inet/filter/FORWARD             -j DROP
  inet6/filter/FORWARD            -j DROP
  inet/filter/INPUT               -j DROP
  inet6/filter/INPUT              -j DROP
  inet/filter/OUTPUT              -j DROP
  inet6/filter/OUTPUT             -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1187

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1188
Filter 78                         {"action":"pass","log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1189
(log)                             
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1190
1191
1192
1193
1194
1195
  inet/filter/FORWARD             
  inet6/filter/FORWARD            
  inet/filter/INPUT               
  inet6/filter/INPUT              
  inet/filter/OUTPUT              
  inet6/filter/OUTPUT             
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1196

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
Filter 79                         {"in":["_fw","A"]}
(zone)                            
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT
  inet/filter/FORWARD             -i eth0 -j ACCEPT
  inet6/filter/FORWARD            -i eth0 -j ACCEPT
  inet/filter/INPUT               -i eth0 -j ACCEPT
  inet6/filter/INPUT              -i eth0 -j ACCEPT

Filter 80                         {"in":"B","out":"C"}
(zone)                            
  inet/filter/FORWARD             -i eth1 -s 10.0.0.0/12 -o eth2 -d 10.1.0.0/12 -j ACCEPT
  inet/filter/FORWARD             -i eth1 -s 10.0.0.0/12 -o eth3 -d 10.1.0.0/12 -j ACCEPT

Filter 81                         {"out":["_fw","B"]}
(zone)                            
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/FORWARD             -o eth1 -d 10.0.0.0/12 -j ACCEPT
  inet/filter/OUTPUT              -o eth1 -d 10.0.0.0/12 -j ACCEPT
  inet6/filter/FORWARD            -o eth1 -d fc00::/7 -j ACCEPT
  inet6/filter/OUTPUT             -o eth1 -d fc00::/7 -j ACCEPT

Filter 82                         {"in":["A","B","C","D","E"],"out":["A","B","C","D","E"]}
(zone)                            
  inet/filter/FORWARD             -i eth0 -o eth1 -d 10.0.0.0/12 -j ACCEPT
  inet6/filter/FORWARD            -i eth0 -o eth1 -d fc00::/7 -j ACCEPT
  inet/filter/FORWARD             -i eth0 -o eth2 -d 10.1.0.0/12 -j ACCEPT
  inet/filter/FORWARD             -i eth0 -o eth3 -d 10.1.0.0/12 -j ACCEPT
  inet/filter/FORWARD             -i eth0 -o eth4 -j ACCEPT
  inet6/filter/FORWARD            -i eth0 -o eth4 -j ACCEPT
  inet/filter/FORWARD             -i eth0 -o eth5 -j ACCEPT
  inet6/filter/FORWARD            -i eth0 -o eth5 -j ACCEPT
  inet/filter/FORWARD             -i eth0 -m policy --dir out --pol ipsec -j ACCEPT
  inet6/filter/FORWARD            -i eth0 -m policy --dir out --pol ipsec -j ACCEPT
  inet/filter/FORWARD             -i eth1 -s 10.0.0.0/12 -o eth0 -j ACCEPT
  inet6/filter/FORWARD            -i eth1 -s fc00::/7 -o eth0 -j ACCEPT
  inet/filter/FORWARD             -i eth1 -s 10.0.0.0/12 -o eth2 -d 10.1.0.0/12 -j ACCEPT
  inet/filter/FORWARD             -i eth1 -s 10.0.0.0/12 -o eth3 -d 10.1.0.0/12 -j ACCEPT
  inet/filter/FORWARD             -i eth1 -s 10.0.0.0/12 -o eth4 -j ACCEPT
  inet/filter/FORWARD             -i eth1 -s 10.0.0.0/12 -o eth5 -j ACCEPT
  inet6/filter/FORWARD            -i eth1 -s fc00::/7 -o eth4 -j ACCEPT
  inet6/filter/FORWARD            -i eth1 -s fc00::/7 -o eth5 -j ACCEPT
  inet/filter/FORWARD             -i eth1 -s 10.0.0.0/12 -m policy --dir out --pol ipsec -j ACCEPT
  inet6/filter/FORWARD            -i eth1 -s fc00::/7 -m policy --dir out --pol ipsec -j ACCEPT
  inet/filter/FORWARD             -i eth2 -s 10.1.0.0/12 -o eth0 -j ACCEPT
  inet/filter/FORWARD             -i eth3 -s 10.1.0.0/12 -o eth0 -j ACCEPT
  inet/filter/FORWARD             -i eth2 -s 10.1.0.0/12 -o eth1 -d 10.0.0.0/12 -j ACCEPT
  inet/filter/FORWARD             -i eth3 -s 10.1.0.0/12 -o eth1 -d 10.0.0.0/12 -j ACCEPT
  inet/filter/FORWARD             -i eth2 -s 10.1.0.0/12 -o eth3 -d 10.1.0.0/12 -j ACCEPT
  inet/filter/FORWARD             -i eth3 -s 10.1.0.0/12 -o eth2 -d 10.1.0.0/12 -j ACCEPT
  inet/filter/FORWARD             -i eth2 -s 10.1.0.0/12 -o eth4 -j ACCEPT
  inet/filter/FORWARD             -i eth2 -s 10.1.0.0/12 -o eth5 -j ACCEPT
  inet/filter/FORWARD             -i eth3 -s 10.1.0.0/12 -o eth4 -j ACCEPT
  inet/filter/FORWARD             -i eth3 -s 10.1.0.0/12 -o eth5 -j ACCEPT
  inet/filter/FORWARD             -i eth2 -s 10.1.0.0/12 -m policy --dir out --pol ipsec -j ACCEPT
  inet/filter/FORWARD             -i eth3 -s 10.1.0.0/12 -m policy --dir out --pol ipsec -j ACCEPT
  inet/filter/FORWARD             -i eth4 -o eth0 -j ACCEPT
  inet6/filter/FORWARD            -i eth4 -o eth0 -j ACCEPT
  inet/filter/FORWARD             -i eth5 -o eth0 -j ACCEPT
  inet6/filter/FORWARD            -i eth5 -o eth0 -j ACCEPT
  inet/filter/FORWARD             -i eth4 -o eth1 -d 10.0.0.0/12 -j ACCEPT
  inet6/filter/FORWARD            -i eth4 -o eth1 -d fc00::/7 -j ACCEPT
  inet/filter/FORWARD             -i eth5 -o eth1 -d 10.0.0.0/12 -j ACCEPT
  inet6/filter/FORWARD            -i eth5 -o eth1 -d fc00::/7 -j ACCEPT
  inet/filter/FORWARD             -i eth4 -o eth2 -d 10.1.0.0/12 -j ACCEPT
  inet/filter/FORWARD             -i eth4 -o eth3 -d 10.1.0.0/12 -j ACCEPT
  inet/filter/FORWARD             -i eth5 -o eth2 -d 10.1.0.0/12 -j ACCEPT
  inet/filter/FORWARD             -i eth5 -o eth3 -d 10.1.0.0/12 -j ACCEPT
  inet/filter/FORWARD             -i eth4 -o eth4 -j ACCEPT
  inet6/filter/FORWARD            -i eth4 -o eth4 -j ACCEPT
  inet/filter/FORWARD             -i eth4 -o eth5 -j ACCEPT
  inet6/filter/FORWARD            -i eth4 -o eth5 -j ACCEPT
  inet/filter/FORWARD             -i eth5 -o eth4 -j ACCEPT
  inet6/filter/FORWARD            -i eth5 -o eth4 -j ACCEPT
  inet/filter/FORWARD             -i eth5 -o eth5 -j ACCEPT
  inet6/filter/FORWARD            -i eth5 -o eth5 -j ACCEPT
  inet/filter/FORWARD             -i eth4 -m policy --dir out --pol ipsec -j ACCEPT
  inet6/filter/FORWARD            -i eth4 -m policy --dir out --pol ipsec -j ACCEPT
  inet/filter/FORWARD             -i eth5 -m policy --dir out --pol ipsec -j ACCEPT
  inet6/filter/FORWARD            -i eth5 -m policy --dir out --pol ipsec -j ACCEPT
  inet/filter/FORWARD             -m policy --dir in --pol ipsec -o eth0 -j ACCEPT
  inet6/filter/FORWARD            -m policy --dir in --pol ipsec -o eth0 -j ACCEPT
  inet/filter/FORWARD             -m policy --dir in --pol ipsec -o eth1 -d 10.0.0.0/12 -j ACCEPT
  inet6/filter/FORWARD            -m policy --dir in --pol ipsec -o eth1 -d fc00::/7 -j ACCEPT
  inet/filter/FORWARD             -m policy --dir in --pol ipsec -o eth2 -d 10.1.0.0/12 -j ACCEPT
  inet/filter/FORWARD             -m policy --dir in --pol ipsec -o eth3 -d 10.1.0.0/12 -j ACCEPT
  inet/filter/FORWARD             -m policy --dir in --pol ipsec -o eth4 -j ACCEPT
  inet6/filter/FORWARD            -m policy --dir in --pol ipsec -o eth4 -j ACCEPT
  inet/filter/FORWARD             -m policy --dir in --pol ipsec -o eth5 -j ACCEPT
  inet6/filter/FORWARD            -m policy --dir in --pol ipsec -o eth5 -j ACCEPT
  inet/filter/FORWARD             -m policy --dir in --pol ipsec -m policy --dir out --pol ipsec -j ACCEPT
  inet6/filter/FORWARD            -m policy --dir in --pol ipsec -m policy --dir out --pol ipsec -j ACCEPT

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1291

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1292
1293
1294
1295
1296
1297
1298
Ipset awall-masquerade  {"family":"inet","type":"hash:net"}
(masquerade)            


Log _default  {"limit":1}
(defaults)    

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1299
1300
1301
Log none      {"mode":"none"}
(log)         

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1302

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
Mark 1                      {"in":["_fw","A"],"mark":0}
(zone)                      
  inet/mangle/OUTPUT        -j MARK --set-mark 0
  inet6/mangle/OUTPUT       -j MARK --set-mark 0
  inet/mangle/PREROUTING    -i eth0 -j MARK --set-mark 0
  inet6/mangle/PREROUTING   -i eth0 -j MARK --set-mark 0

Mark 2                      {"in":"B","mark":1,"out":"C"}
(zone)                      
  inet/mangle/FORWARD       -i eth1 -s 10.0.0.0/12 -o eth2 -d 10.1.0.0/12 -j MARK --set-mark 1
  inet/mangle/FORWARD       -i eth1 -s 10.0.0.0/12 -o eth3 -d 10.1.0.0/12 -j MARK --set-mark 1

Mark 3                      {"mark":2,"out":["_fw","B"]}
(zone)                      
  inet/mangle/INPUT         -j MARK --set-mark 2
  inet6/mangle/INPUT        -j MARK --set-mark 2
  inet/mangle/POSTROUTING   -o eth1 -d 10.0.0.0/12 -j MARK --set-mark 2
  inet6/mangle/POSTROUTING  -o eth1 -d fc00::/7 -j MARK --set-mark 2


No-track 1              {"in":["_fw","A"]}
(zone)                  
  inet/raw/OUTPUT       -j CT --notrack
  inet6/raw/OUTPUT      -j CT --notrack
  inet/raw/PREROUTING   -i eth0 -j CT --notrack
  inet6/raw/PREROUTING  -i eth0 -j CT --notrack

No-track 2              {"in":"B"}
(zone)                  
  inet/raw/PREROUTING   -i eth1 -s 10.0.0.0/12 -j CT --notrack
  inet6/raw/PREROUTING  -i eth1 -s fc00::/7 -j CT --notrack

No-track 3              {"out":"_fw"}
(zone)                  
  inet/raw/PREROUTING   -m addrtype --dst-type LOCAL -j CT --notrack
  inet6/raw/PREROUTING  -m addrtype --dst-type LOCAL -j CT --notrack


Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
Service babel         {"port":6697,"proto":"tcp"}
(services)            

Service bacula-dir    {"port":9101,"proto":"tcp"}
(services)            

Service bacula-fd     {"port":9102,"proto":"tcp"}
(services)            

Service bacula-sd     {"port":9103,"proto":"tcp"}
(services)            

Service bgp           {"port":179,"proto":"tcp"}
(services)            

Service dhcp          {"family":"inet","port":[67,68],"proto":"udp"}
(services)            

Service discard       [{"port":9,"proto":"udp"},{"port":9,"proto":"tcp"}]
(services)            

Service dns           [{"port":53,"proto":"udp"},{"port":53,"proto":"tcp"}]
(services)            

Service epmap         [{"port":135,"proto":"tcp"},{"port":135,"proto":"udp"}]
(services)            

Service ftp           {"ct-helper":"ftp","port":21,"proto":"tcp"}
(services)            

Service gre           {"proto":"gre"}
(services)            

Service hp-pdl        {"port":9100,"proto":"tcp"}
(services)            

Service http          {"port":80,"proto":"tcp"}
(services)            

Service http-alt      {"port":8080,"proto":"tcp"}
(services)            

Service https         {"port":443,"proto":"tcp"}
(services)            

Service icmp          {"proto":"icmp"}
(services)            

Service igmp          {"proto":"igmp"}
(services)            

Service imap          {"port":143,"proto":"tcp"}
(services)            

Service imaps         {"port":993,"proto":"tcp"}
(services)            

Service ipsec         [{"proto":"esp"},{"port":[500,4500],"proto":"udp"}]
(services)            

Service irc           {"ct-helper":"irc","port":6667,"proto":"tcp"}
(services)            

Service kerberos      [{"port":88,"proto":"tcp"},{"port":88,"proto":"udp"}]
(services)            

Service kpasswd       [{"port":464,"proto":"tcp"},{"port":464,"proto":"udp"}]
(services)            

Service l2tp          {"port":1701,"proto":"udp"}
(services)            

Service ldap          [{"port":389,"proto":"tcp"},{"port":389,"proto":"udp"}]
(services)            

Service ldaps         [{"port":636,"proto":"tcp"},{"port":636,"proto":"udp"}]
(services)            

Service microsoft-ds  [{"port":445,"proto":"tcp"},{"port":445,"proto":"udp"}]
(services)            

Service ms-sql-m      {"port":1434,"proto":"tcp"}
(services)            

Service ms-sql-s      {"port":1433,"proto":"tcp"}
(services)            

Service msft-gc       [{"port":3268,"proto":"tcp"},{"port":3268,"proto":"udp"}]
(services)            

Service msft-gc-ssl   [{"port":3269,"proto":"tcp"},{"port":3269,"proto":"udp"}]
(services)            

Service netbios-ds    [{"port":138,"proto":"tcp"},{"port":138,"proto":"udp"}]
(services)            

Service netbios-ns    [{"family":"inet","port":137,"proto":"tcp"},{"ct-helper":"netbios-ns","family":"inet","port":137,"proto":"udp"}]
(services)            

Service netbios-ssn   [{"port":139,"proto":"tcp"},{"port":139,"proto":"udp"}]
(services)            

Service ntp           {"port":123,"proto":"udp"}
(services)            

Service ospf          {"proto":"ospf"}
(services)            

Service pgsql         {"port":5432,"proto":"tcp"}
(services)            

Service ping          [{"proto":"icmp","reply-type":0,"type":8},{"proto":"icmpv6","reply-type":129,"type":128}]
(services)            

Service pop3          {"port":110,"proto":"tcp"}
(services)            

Service pop3s         {"port":995,"proto":"tcp"}
(services)            

Service radius        [{"port":1812,"proto":"udp"},{"port":1812,"proto":"tcp"}]
(services)            

Service radius-acct   [{"port":1813,"proto":"udp"},{"port":1813,"proto":"tcp"}]
(services)            

Service rdp           {"port":3389,"proto":"tcp"}
(services)            

Service rsync         {"port":873,"proto":"tcp"}
(services)            

Service rtmp          {"port":1935,"proto":"tcp"}
(services)            

Service rtsp          {"port":554,"proto":"tcp"}
(services)            

Service sieve         {"port":4190,"proto":"tcp"}
(services)            

Service sip           [{"ct-helper":"sip","port":5060,"proto":"udp"},{"ct-helper":"sip","port":5060,"proto":"tcp"}]
(services)            

Service sip-tls       [{"port":5061,"proto":"udp"},{"port":5061,"proto":"tcp"}]
(services)            

Service smtp          {"port":25,"proto":"tcp"}
(services)            

Service snmp          {"port":161,"proto":"udp"}
(services)            

Service snmp-trap     {"port":162,"proto":"udp"}
(services)            

Service ssh           {"port":22,"proto":"tcp"}
(services)            

Service submission    {"port":587,"proto":"tcp"}
(services)            

Service syslog        {"port":514,"proto":"udp"}
(services)            

Service telnet        {"port":23,"proto":"tcp"}
(services)            

Service teredo        {"port":3544,"proto":"udp"}
(services)            

Service tftp          {"port":69,"proto":"udp"}
(services)            

Service vnc           {"port":5900,"proto":"tcp"}
(services)            


Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1519
1520
1521
1522
1523
1524
Snat 1                  {"out":["_fw","B"]}
(zone)                  
  inet/nat/INPUT        -j MASQUERADE
  inet/nat/POSTROUTING  -o eth1 -d 10.0.0.0/12 -j MASQUERADE


Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1525
1526
1527
1528
Variable awall_tproxy_mark  1
(defaults)                  


Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
Zone A  {"iface":"eth0"}
(zone)  

Zone B  {"addr":["10.0.0.0\/12","fc00::\/7"],"iface":"eth1"}
(zone)  

Zone C  {"addr":"10.1.0.0\/12","iface":["eth2","eth3"]}
(zone)  

Zone D  {"iface":["eth4","eth5"],"route-back":true}
(zone)  

Zone E  {"ipsec":true}
(zone)  


Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
# ipset awall-masquerade
hash:net family inet


# rules-save generated by awall
*filter
:FORWARD DROP [0:0]
:INPUT DROP [0:0]
:OUTPUT DROP [0:0]
:icmp-routing - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
:limit-0 - [0:0]
:limit-1 - [0:0]
:limit-10 - [0:0]
:limit-11 - [0:0]
:limit-12 - [0:0]
:limit-13 - [0:0]
:limit-14 - [0:0]
:limit-15 - [0:0]
:limit-16 - [0:0]
:limit-17 - [0:0]
:limit-18 - [0:0]
:limit-19 - [0:0]
:limit-2 - [0:0]
:limit-20 - [0:0]
:limit-21 - [0:0]
:limit-22 - [0:0]
:limit-23 - [0:0]
:limit-24 - [0:0]
:limit-25 - [0:0]
:limit-26 - [0:0]
:limit-27 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1576
1577
:limit-28 - [0:0]
:limit-29 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1578
:limit-3 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
:limit-30 - [0:0]
:limit-31 - [0:0]
:limit-32 - [0:0]
:limit-33 - [0:0]
:limit-34 - [0:0]
:limit-35 - [0:0]
:limit-36 - [0:0]
:limit-37 - [0:0]
:limit-38 - [0:0]
:limit-39 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1589
:limit-4 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
:limit-40 - [0:0]
:limit-41 - [0:0]
:limit-42 - [0:0]
:limit-43 - [0:0]
:limit-44 - [0:0]
:limit-45 - [0:0]
:limit-46 - [0:0]
:limit-47 - [0:0]
:limit-48 - [0:0]
:limit-49 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1600
:limit-5 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
:limit-50 - [0:0]
:limit-51 - [0:0]
:limit-52 - [0:0]
:limit-53 - [0:0]
:limit-54 - [0:0]
:limit-55 - [0:0]
:limit-56 - [0:0]
:limit-57 - [0:0]
:limit-58 - [0:0]
:limit-59 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1611
1612
1613
1614
1615
1616
1617
:limit-6 - [0:0]
:limit-7 - [0:0]
:limit-8 - [0:0]
:limit-9 - [0:0]
:logaccept-0 - [0:0]
:logaccept-1 - [0:0]
:logaccept-2 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1618
:logaccept-3 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1619
1620
1621
1622
:logaccept-final-0 - [0:0]
:logaccept-final-1 - [0:0]
:logaccept-final-2 - [0:0]
:logaccept-final-3 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1623
1624
:logaccept-final-4 - [0:0]
:logaccept-final-5 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1625
1626
1627
:logdrop-0 - [0:0]
:logdrop-1 - [0:0]
:logdrop-10 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1628
1629
1630
1631
:logdrop-11 - [0:0]
:logdrop-12 - [0:0]
:logdrop-13 - [0:0]
:logdrop-14 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
:logdrop-2 - [0:0]
:logdrop-3 - [0:0]
:logdrop-4 - [0:0]
:logdrop-5 - [0:0]
:logdrop-6 - [0:0]
:logdrop-7 - [0:0]
:logdrop-8 - [0:0]
:logdrop-9 - [0:0]
:logpass-0 - [0:0]
:logreject-0 - [0:0]
:logtarpit-0 - [0:0]
:tarpit - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
-A FORWARD -j limit-59
-A FORWARD -j limit-58
-A FORWARD -j limit-57
-A FORWARD -j limit-56
-A FORWARD -j limit-55
-A FORWARD -j limit-54
-A FORWARD -j limit-53
-A FORWARD -j limit-52
-A FORWARD -j limit-51
-A FORWARD -j limit-50
-A FORWARD -j limit-49
-A FORWARD -j limit-48
-A FORWARD -j limit-47
-A FORWARD -j limit-46
-A FORWARD -j limit-45
-A FORWARD -j limit-44
-A FORWARD -j limit-43
-A FORWARD -j limit-42
-A FORWARD -j limit-41
-A FORWARD -j limit-40
-A FORWARD -j limit-39
-A FORWARD -j limit-38
-A FORWARD -j limit-37
-A FORWARD -j limit-36
-A FORWARD -j limit-35
-A FORWARD -j limit-34
-A FORWARD -j limit-33
-A FORWARD -j limit-32
-A FORWARD -j limit-31
-A FORWARD -j limit-30
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1674
-A FORWARD -m conntrack --ctstate ESTABLISHED -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
-A FORWARD -j ACCEPT
-A FORWARD -j ACCEPT
-A FORWARD -j logdrop-0
-A FORWARD 
-A FORWARD -j logreject-0
-A FORWARD -j logtarpit-0
-A FORWARD -j limit-0
-A FORWARD -j limit-1
-A FORWARD -j limit-2
-A FORWARD -j limit-3
-A FORWARD -j limit-4
-A FORWARD -j limit-5
-A FORWARD -j limit-6
-A FORWARD -j limit-7
-A FORWARD -j limit-8
-A FORWARD -j limit-9
-A FORWARD -j limit-10
-A FORWARD -j limit-11
-A FORWARD -j limit-12
-A FORWARD -j limit-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
-A FORWARD -j limit-14
-A FORWARD -j limit-15
-A FORWARD -j limit-16
-A FORWARD -j limit-17
-A FORWARD -j limit-18
-A FORWARD -j limit-19
-A FORWARD -j limit-20
-A FORWARD -j limit-21
-A FORWARD -j limit-22
-A FORWARD -j limit-23
-A FORWARD -j limit-24
-A FORWARD -j limit-25
-A FORWARD -j limit-26
-A FORWARD -j limit-27
-A FORWARD -j limit-28
-A FORWARD -j limit-29
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1711
1712
1713
-A FORWARD -j ACCEPT
-A FORWARD -j logaccept-final-0
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1714
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1715
1716
-A FORWARD -j logaccept-final-1
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1717
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1718
1719
-A FORWARD -j logaccept-final-2
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1720
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1721
1722
-A FORWARD -j logaccept-final-3
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1723
1724
1725
1726
1727
1728
1729
1730
-A FORWARD -j ACCEPT
-A FORWARD -j logaccept-final-4
-A FORWARD -j ACCEPT
-A FORWARD -j ACCEPT
-A FORWARD -j logaccept-final-5
-A FORWARD -j ACCEPT
-A FORWARD -j ACCEPT
-A FORWARD -j logdrop-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1731
1732
1733
1734
-A FORWARD 
-A FORWARD -j ACCEPT
-A FORWARD -j DROP
-A FORWARD 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1735
1736
-A FORWARD -j logaccept-3
-A FORWARD -j logdrop-14
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1737
-A FORWARD -j logpass-0
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1738
1739
1740
-A FORWARD -j ACCEPT
-A FORWARD -j DROP
-A FORWARD 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
-A FORWARD -i eth0 -j ACCEPT
-A FORWARD -i eth1 -s 10.0.0.0/12 -o eth2 -d 10.1.0.0/12 -j ACCEPT
-A FORWARD -i eth1 -s 10.0.0.0/12 -o eth3 -d 10.1.0.0/12 -j ACCEPT
-A FORWARD -o eth1 -d 10.0.0.0/12 -j ACCEPT
-A FORWARD -i eth0 -o eth1 -d 10.0.0.0/12 -j ACCEPT
-A FORWARD -i eth0 -o eth2 -d 10.1.0.0/12 -j ACCEPT
-A FORWARD -i eth0 -o eth3 -d 10.1.0.0/12 -j ACCEPT
-A FORWARD -i eth0 -o eth4 -j ACCEPT
-A FORWARD -i eth0 -o eth5 -j ACCEPT
-A FORWARD -i eth0 -m policy --dir out --pol ipsec -j ACCEPT
-A FORWARD -i eth1 -s 10.0.0.0/12 -o eth0 -j ACCEPT
-A FORWARD -i eth1 -s 10.0.0.0/12 -o eth2 -d 10.1.0.0/12 -j ACCEPT
-A FORWARD -i eth1 -s 10.0.0.0/12 -o eth3 -d 10.1.0.0/12 -j ACCEPT
-A FORWARD -i eth1 -s 10.0.0.0/12 -o eth4 -j ACCEPT
-A FORWARD -i eth1 -s 10.0.0.0/12 -o eth5 -j ACCEPT
-A FORWARD -i eth1 -s 10.0.0.0/12 -m policy --dir out --pol ipsec -j ACCEPT
-A FORWARD -i eth2 -s 10.1.0.0/12 -o eth0 -j ACCEPT
-A FORWARD -i eth3 -s 10.1.0.0/12 -o eth0 -j ACCEPT
-A FORWARD -i eth2 -s 10.1.0.0/12 -o eth1 -d 10.0.0.0/12 -j ACCEPT
-A FORWARD -i eth3 -s 10.1.0.0/12 -o eth1 -d 10.0.0.0/12 -j ACCEPT
-A FORWARD -i eth2 -s 10.1.0.0/12 -o eth3 -d 10.1.0.0/12 -j ACCEPT
-A FORWARD -i eth3 -s 10.1.0.0/12 -o eth2 -d 10.1.0.0/12 -j ACCEPT
-A FORWARD -i eth2 -s 10.1.0.0/12 -o eth4 -j ACCEPT
-A FORWARD -i eth2 -s 10.1.0.0/12 -o eth5 -j ACCEPT
-A FORWARD -i eth3 -s 10.1.0.0/12 -o eth4 -j ACCEPT
-A FORWARD -i eth3 -s 10.1.0.0/12 -o eth5 -j ACCEPT
-A FORWARD -i eth2 -s 10.1.0.0/12 -m policy --dir out --pol ipsec -j ACCEPT
-A FORWARD -i eth3 -s 10.1.0.0/12 -m policy --dir out --pol ipsec -j ACCEPT
-A FORWARD -i eth4 -o eth0 -j ACCEPT
-A FORWARD -i eth5 -o eth0 -j ACCEPT
-A FORWARD -i eth4 -o eth1 -d 10.0.0.0/12 -j ACCEPT
-A FORWARD -i eth5 -o eth1 -d 10.0.0.0/12 -j ACCEPT
-A FORWARD -i eth4 -o eth2 -d 10.1.0.0/12 -j ACCEPT
-A FORWARD -i eth4 -o eth3 -d 10.1.0.0/12 -j ACCEPT
-A FORWARD -i eth5 -o eth2 -d 10.1.0.0/12 -j ACCEPT
-A FORWARD -i eth5 -o eth3 -d 10.1.0.0/12 -j ACCEPT
-A FORWARD -i eth4 -o eth4 -j ACCEPT
-A FORWARD -i eth4 -o eth5 -j ACCEPT
-A FORWARD -i eth5 -o eth4 -j ACCEPT
-A FORWARD -i eth5 -o eth5 -j ACCEPT
-A FORWARD -i eth4 -m policy --dir out --pol ipsec -j ACCEPT
-A FORWARD -i eth5 -m policy --dir out --pol ipsec -j ACCEPT
-A FORWARD -m policy --dir in --pol ipsec -o eth0 -j ACCEPT
-A FORWARD -m policy --dir in --pol ipsec -o eth1 -d 10.0.0.0/12 -j ACCEPT
-A FORWARD -m policy --dir in --pol ipsec -o eth2 -d 10.1.0.0/12 -j ACCEPT
-A FORWARD -m policy --dir in --pol ipsec -o eth3 -d 10.1.0.0/12 -j ACCEPT
-A FORWARD -m policy --dir in --pol ipsec -o eth4 -j ACCEPT
-A FORWARD -m policy --dir in --pol ipsec -o eth5 -j ACCEPT
-A FORWARD -m policy --dir in --pol ipsec -m policy --dir out --pol ipsec -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1790
-A FORWARD -p icmp -j icmp-routing
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
-A INPUT -j limit-59
-A INPUT -j limit-58
-A INPUT -j limit-57
-A INPUT -j limit-56
-A INPUT -j limit-55
-A INPUT -j limit-54
-A INPUT -j limit-53
-A INPUT -j limit-52
-A INPUT -j limit-51
-A INPUT -j limit-50
-A INPUT -j limit-49
-A INPUT -j limit-48
-A INPUT -j limit-47
-A INPUT -j limit-46
-A INPUT -j limit-45
-A INPUT -j limit-44
-A INPUT -j limit-43
-A INPUT -j limit-42
-A INPUT -j limit-41
-A INPUT -j limit-40
-A INPUT -j limit-39
-A INPUT -j limit-38
-A INPUT -j limit-37
-A INPUT -j limit-36
-A INPUT -j limit-35
-A INPUT -j limit-34
-A INPUT -j limit-33
-A INPUT -j limit-32
-A INPUT -j limit-31
-A INPUT -j limit-30
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1821
1822
-A INPUT -m conntrack --ctstate ESTABLISHED -j ACCEPT
-A INPUT -i lo -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
-A INPUT -j ACCEPT
-A INPUT -j ACCEPT
-A INPUT -j logdrop-0
-A INPUT 
-A INPUT -j logreject-0
-A INPUT -j logtarpit-0
-A INPUT -j limit-0
-A INPUT -j limit-1
-A INPUT -j limit-2
-A INPUT -j limit-3
-A INPUT -j limit-4
-A INPUT -j limit-5
-A INPUT -j limit-6
-A INPUT -j limit-7
-A INPUT -j limit-8
-A INPUT -j limit-9
-A INPUT -j limit-10
-A INPUT -j limit-11
-A INPUT -j limit-12
-A INPUT -j limit-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
-A INPUT -j limit-14
-A INPUT -j limit-15
-A INPUT -j limit-16
-A INPUT -j limit-17
-A INPUT -j limit-18
-A INPUT -j limit-19
-A INPUT -j limit-20
-A INPUT -j limit-21
-A INPUT -j limit-22
-A INPUT -j limit-23
-A INPUT -j limit-24
-A INPUT -j limit-25
-A INPUT -j limit-26
-A INPUT -j limit-27
-A INPUT -j limit-28
-A INPUT -j limit-29
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1859
1860
1861
-A INPUT -j ACCEPT
-A INPUT -j logaccept-final-0
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1862
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1863
1864
-A INPUT -j logaccept-final-1
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1865
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1866
1867
-A INPUT -j logaccept-final-2
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1868
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1869
1870
-A INPUT -j logaccept-final-3
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1871
1872
1873
1874
1875
1876
1877
1878
-A INPUT -j ACCEPT
-A INPUT -j logaccept-final-4
-A INPUT -j ACCEPT
-A INPUT -j ACCEPT
-A INPUT -j logaccept-final-5
-A INPUT -j ACCEPT
-A INPUT -j ACCEPT
-A INPUT -j logdrop-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1879
1880
1881
1882
-A INPUT 
-A INPUT -j ACCEPT
-A INPUT -j DROP
-A INPUT 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1883
1884
-A INPUT -j logaccept-3
-A INPUT -j logdrop-14
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1885
-A INPUT -j logpass-0
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1886
1887
1888
-A INPUT -j ACCEPT
-A INPUT -j DROP
-A INPUT 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1889
1890
-A INPUT -i eth0 -j ACCEPT
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1891
-A INPUT -p icmp -j icmp-routing
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
-A OUTPUT -j limit-59
-A OUTPUT -j limit-58
-A OUTPUT -j limit-57
-A OUTPUT -j limit-56
-A OUTPUT -j limit-55
-A OUTPUT -j limit-54
-A OUTPUT -j limit-53
-A OUTPUT -j limit-52
-A OUTPUT -j limit-51
-A OUTPUT -j limit-50
-A OUTPUT -j limit-49
-A OUTPUT -j limit-48
-A OUTPUT -j limit-47
-A OUTPUT -j limit-46
-A OUTPUT -j limit-45
-A OUTPUT -j limit-44
-A OUTPUT -j limit-43
-A OUTPUT -j limit-42
-A OUTPUT -j limit-41
-A OUTPUT -j limit-40
-A OUTPUT -j limit-39
-A OUTPUT -j limit-38
-A OUTPUT -j limit-37
-A OUTPUT -j limit-36
-A OUTPUT -j limit-35
-A OUTPUT -j limit-34
-A OUTPUT -j limit-33
-A OUTPUT -j limit-32
-A OUTPUT -j limit-31
-A OUTPUT -j limit-30
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1922
1923
-A OUTPUT -m conntrack --ctstate ESTABLISHED -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
-A OUTPUT -j ACCEPT
-A OUTPUT -j ACCEPT
-A OUTPUT -j logdrop-0
-A OUTPUT 
-A OUTPUT -j logreject-0
-A OUTPUT -j logtarpit-0
-A OUTPUT -j limit-0
-A OUTPUT -j limit-1
-A OUTPUT -j limit-2
-A OUTPUT -j limit-3
-A OUTPUT -j limit-4
-A OUTPUT -j limit-5
-A OUTPUT -j limit-6
-A OUTPUT -j limit-7
-A OUTPUT -j limit-8
-A OUTPUT -j limit-9
-A OUTPUT -j limit-10
-A OUTPUT -j limit-11
-A OUTPUT -j limit-12
-A OUTPUT -j limit-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
-A OUTPUT -j limit-14
-A OUTPUT -j limit-15
-A OUTPUT -j limit-16
-A OUTPUT -j limit-17
-A OUTPUT -j limit-18
-A OUTPUT -j limit-19
-A OUTPUT -j limit-20
-A OUTPUT -j limit-21
-A OUTPUT -j limit-22
-A OUTPUT -j limit-23
-A OUTPUT -j limit-24
-A OUTPUT -j limit-25
-A OUTPUT -j limit-26
-A OUTPUT -j limit-27
-A OUTPUT -j limit-28
-A OUTPUT -j limit-29
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1960
1961
1962
-A OUTPUT -j ACCEPT
-A OUTPUT -j logaccept-final-0
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1963
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1964
1965
-A OUTPUT -j logaccept-final-1
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1966
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1967
1968
-A OUTPUT -j logaccept-final-2
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1969
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1970
1971
-A OUTPUT -j logaccept-final-3
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1972
1973
1974
1975
1976
1977
1978
1979
-A OUTPUT -j ACCEPT
-A OUTPUT -j logaccept-final-4
-A OUTPUT -j ACCEPT
-A OUTPUT -j ACCEPT
-A OUTPUT -j logaccept-final-5
-A OUTPUT -j ACCEPT
-A OUTPUT -j ACCEPT
-A OUTPUT -j logdrop-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1980
1981
1982
1983
-A OUTPUT 
-A OUTPUT -j ACCEPT
-A OUTPUT -j DROP
-A OUTPUT 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1984
1985
-A OUTPUT -j logaccept-3
-A OUTPUT -j logdrop-14
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1986
-A OUTPUT -j logpass-0
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1987
1988
1989
-A OUTPUT -j ACCEPT
-A OUTPUT -j DROP
-A OUTPUT 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1990
1991
-A OUTPUT -j ACCEPT
-A OUTPUT -o eth1 -d 10.0.0.0/12 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1992
1993
1994
1995
-A OUTPUT -p icmp -j icmp-routing
-A icmp-routing -p icmp --icmp-type 3 -j ACCEPT
-A icmp-routing -p icmp --icmp-type 11 -j ACCEPT
-A icmp-routing -p icmp --icmp-type 12 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1996
1997
1998
1999
-A limit-0 -m recent --name limit-0 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-1
-A limit-0 -m recent --name limit-0 --rsource --mask 255.255.255.255 --set -j ACCEPT
-A limit-1 -m recent --name limit-1 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-2
-A limit-1 -m recent --name limit-1 --rsource --mask 255.255.255.255 --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
-A limit-10 -m recent --name limit-10 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-10 -m recent --name limit-10 --rsource --mask 255.255.255.255 --set -j ACCEPT
-A limit-11 -m recent --name limit-11 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-11 -m recent --name limit-11 --rsource --mask 255.255.255.255 --set 
-A limit-12 -m recent --name limit-12 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-12 -m recent --name limit-12 --rsource --mask 255.255.255.255 --set -j ACCEPT
-A limit-13 -m recent --name limit-13 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-13 -m recent --name limit-13 --rsource --mask 255.255.255.255 --set 
-A limit-14 -m recent --name limit-14 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-14 -m limit --limit 1/second -j LOG
-A limit-14 -m recent --name limit-14 --rsource --mask 255.255.255.255 --set -j ACCEPT
-A limit-15 -m recent --name limit-15 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-15 -m recent --name limit-15 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
-A limit-16 -m recent --name limit-16 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-16 -m recent --name limit-16 --rsource --mask 255.255.255.255 --set -j ACCEPT
-A limit-17 -m recent --name limit-17 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-17 -m recent --name limit-17 --rsource --mask 255.255.255.255 --set 
-A limit-18 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-18 -j ACCEPT
-A limit-18 -m limit --limit 1/second -j LOG
-A limit-18 -j DROP
-A limit-19 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-19 -j RETURN
-A limit-19 -m limit --limit 1/second -j LOG
-A limit-19 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2023
2024
2025
-A limit-2 -m recent --name limit-2 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-3
-A limit-2 -m limit --limit 1/second -j LOG
-A limit-2 -m recent --name limit-2 --rsource --mask 255.255.255.255 --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2026
2027
2028
2029
2030
2031
2032
-A limit-20 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-20 -j logaccept-0
-A limit-20 -m limit --limit 1/second -j LOG
-A limit-20 -j DROP
-A limit-21 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-21 -j ACCEPT
-A limit-21 -m limit --limit 1/second -j LOG
-A limit-21 -j DROP
-A limit-22 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-22 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2033
2034
2035
-A limit-22 -j DROP
-A limit-23 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-23 -j RETURN
-A limit-23 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2036
-A limit-24 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-24 -j logaccept-1
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2037
-A limit-24 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2038
-A limit-25 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-25 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2039
-A limit-25 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2040
-A limit-26 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-26 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2041
2042
2043
-A limit-26 -j DROP
-A limit-27 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-27 -j RETURN
-A limit-27 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2044
2045
2046
2047
-A limit-28 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-28 -j logaccept-2
-A limit-28 -j DROP
-A limit-29 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-29 -j ACCEPT
-A limit-29 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2048
2049
-A limit-3 -m recent --name limit-3 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-4
-A limit-3 -m recent --name limit-3 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
-A limit-30 -m recent --name limit-30 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-7
-A limit-30 -m recent --name limit-30 --rsource --mask 255.255.255.255 --set 
-A limit-31 -m recent --name limit-31 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-8
-A limit-31 -m recent --name limit-31 --rsource --mask 255.255.255.255 --set 
-A limit-32 -m recent --name limit-32 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-9
-A limit-32 -m recent --name limit-32 --rsource --mask 255.255.255.255 --set 
-A limit-33 -m recent --name limit-33 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-10
-A limit-33 -m recent --name limit-33 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
-A limit-34 -m recent --name limit-34 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-11
-A limit-34 -m recent --name limit-34 --rsource --mask 255.255.255.255 --set 
-A limit-35 -m recent --name limit-35 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-12
-A limit-35 -m recent --name limit-35 --rsource --mask 255.255.255.255 --set 
-A limit-36 -m recent --name limit-36 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-36 -m recent --name limit-36 --rsource --mask 255.255.255.255 --set 
-A limit-37 -m recent --name limit-37 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-37 -m recent --name limit-37 --rsource --mask 255.255.255.255 --set 
-A limit-38 -m recent --name limit-38 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-38 -m recent --name limit-38 --rsource --mask 255.255.255.255 --set 
-A limit-39 -m recent --name limit-39 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-39 -m recent --name limit-39 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
-A limit-4 -m recent --name limit-4 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-5
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2071
-A limit-4 -m recent --name limit-4 --rsource --mask 255.255.255.255 --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
-A limit-40 -m recent --name limit-40 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-40 -m recent --name limit-40 --rsource --mask 255.255.255.255 --set 
-A limit-41 -m recent --name limit-41 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-41 -m recent --name limit-41 --rsource --mask 255.255.255.255 --set 
-A limit-42 -m recent --name limit-42 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-42 -m recent --name limit-42 --rsource --mask 255.255.255.255 --set 
-A limit-43 -m recent --name limit-43 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-43 -m recent --name limit-43 --rsource --mask 255.255.255.255 --set 
-A limit-44 -m recent --name limit-44 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-44 -m recent --name limit-44 --rsource --mask 255.255.255.255 --set 
-A limit-45 -m recent --name limit-45 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-45 -m recent --name limit-45 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
-A limit-46 -m recent --name limit-46 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-46 -m recent --name limit-46 --rsource --mask 255.255.255.255 --set 
-A limit-47 -m recent --name limit-47 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-47 -m recent --name limit-47 --rsource --mask 255.255.255.255 --set 
-A limit-48 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-48 -j RETURN
-A limit-48 -m limit --limit 1/second -j LOG
-A limit-48 -j DROP
-A limit-49 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-49 -j RETURN
-A limit-49 -m limit --limit 1/second -j LOG
-A limit-49 -j DROP
-A limit-5 -m recent --name limit-5 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-6
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2095
-A limit-5 -m recent --name limit-5 --rsource --mask 255.255.255.255 --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
-A limit-50 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-50 -j RETURN
-A limit-50 -m limit --limit 1/second -j LOG
-A limit-50 -j DROP
-A limit-51 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-51 -j RETURN
-A limit-51 -m limit --limit 1/second -j LOG
-A limit-51 -j DROP
-A limit-52 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-52 -j RETURN
-A limit-52 -j DROP
-A limit-53 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-53 -j RETURN
-A limit-53 -j DROP
-A limit-54 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-54 -j RETURN
-A limit-54 -j DROP
-A limit-55 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-55 -j RETURN
-A limit-55 -j DROP
-A limit-56 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-56 -j RETURN
-A limit-56 -j DROP
-A limit-57 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-57 -j RETURN
-A limit-57 -j DROP
-A limit-58 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-58 -j RETURN
-A limit-58 -j DROP
-A limit-59 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-59 -j RETURN
-A limit-59 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2118
2119
2120
-A limit-6 -m recent --name limit-6 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-6 -m recent --name limit-6 --rsource --mask 255.255.255.255 --set -j ACCEPT
-A limit-7 -m recent --name limit-7 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2121
2122
-A limit-7 -m recent --name limit-7 --rsource --mask 255.255.255.255 --set 
-A limit-8 -m recent --name limit-8 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2123
-A limit-8 -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2124
2125
2126
-A limit-8 -m recent --name limit-8 --rsource --mask 255.255.255.255 --set -j ACCEPT
-A limit-9 -m recent --name limit-9 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-9 -m recent --name limit-9 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2127
2128
2129
2130
2131
2132
-A logaccept-0 -m limit --limit 1/second -j LOG
-A logaccept-0 -j ACCEPT
-A logaccept-1 -m limit --limit 1/second -j LOG
-A logaccept-1 -j ACCEPT
-A logaccept-2 -m limit --limit 1/second -j LOG
-A logaccept-2 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2133
2134
-A logaccept-3 -m limit --limit 1/second -j LOG
-A logaccept-3 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2135
2136
2137
2138
2139
2140
2141
2142
-A logaccept-final-0 -m limit --limit 1/second -j LOG
-A logaccept-final-0 -j ACCEPT
-A logaccept-final-1 -m limit --limit 1/second -j LOG
-A logaccept-final-1 -j ACCEPT
-A logaccept-final-2 -m limit --limit 1/second -j LOG
-A logaccept-final-2 -j ACCEPT
-A logaccept-final-3 -m limit --limit 1/second -j LOG
-A logaccept-final-3 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2143
2144
2145
2146
-A logaccept-final-4 -m limit --limit 1/second -j LOG
-A logaccept-final-4 -j ACCEPT
-A logaccept-final-5 -m limit --limit 1/second -j LOG
-A logaccept-final-5 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2147
2148
2149
2150
2151
2152
-A logdrop-0 -m limit --limit 1/second -j LOG
-A logdrop-0 -j DROP
-A logdrop-1 -m limit --limit 1/second -j LOG
-A logdrop-1 -j DROP
-A logdrop-10 -m limit --limit 1/second -j LOG
-A logdrop-10 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2153
2154
2155
2156
2157
2158
2159
2160
-A logdrop-11 -m limit --limit 1/second -j LOG
-A logdrop-11 -j DROP
-A logdrop-12 -m limit --limit 1/second -j LOG
-A logdrop-12 -j DROP
-A logdrop-13 -m limit --limit 1/second -j LOG
-A logdrop-13 -j DROP
-A logdrop-14 -m limit --limit 1/second -j LOG
-A logdrop-14 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
-A logdrop-2 -m limit --limit 1/second -j LOG
-A logdrop-2 -j DROP
-A logdrop-3 -m limit --limit 1/second -j LOG
-A logdrop-3 -j DROP
-A logdrop-4 -m limit --limit 1/second -j LOG
-A logdrop-4 -j DROP
-A logdrop-5 -m limit --limit 1/second -j LOG
-A logdrop-5 -j DROP
-A logdrop-6 -m limit --limit 1/second -j LOG
-A logdrop-6 -j DROP
-A logdrop-7 -m limit --limit 1/second -j LOG
-A logdrop-7 -j DROP
-A logdrop-8 -m limit --limit 1/second -j LOG
-A logdrop-8 -j DROP
-A logdrop-9 -m limit --limit 1/second -j LOG
-A logdrop-9 -j DROP
-A logpass-0 -m limit --limit 1/second -j LOG
-A logreject-0 -m limit --limit 1/second -j LOG
-A logreject-0 -j REJECT
-A logtarpit-0 -m limit --limit 1/second -j LOG
-A logtarpit-0 -j tarpit
-A tarpit -p tcp -j TARPIT
-A tarpit -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2184
COMMIT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
*mangle
:FORWARD ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
:PREROUTING ACCEPT [0:0]
-A FORWARD -i eth1 -s 10.0.0.0/12 -o eth2 -d 10.1.0.0/12 -j MARK --set-mark 1
-A FORWARD -i eth1 -s 10.0.0.0/12 -o eth3 -d 10.1.0.0/12 -j MARK --set-mark 1
-A INPUT -j MARK --set-mark 2
-A OUTPUT -j MARK --set-mark 0
-A POSTROUTING -o eth1 -d 10.0.0.0/12 -j MARK --set-mark 2
-A PREROUTING -i eth0 -j MARK --set-mark 0
COMMIT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2198
*nat
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2199
2200
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2201
:POSTROUTING ACCEPT [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2202
:PREROUTING ACCEPT [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2203
:awall-masquerade - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2204
2205
2206
-A INPUT -j MASQUERADE
-A OUTPUT -j REDIRECT
-A POSTROUTING -o eth1 -d 10.0.0.0/12 -j MASQUERADE
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2207
-A POSTROUTING -m set --match-set awall-masquerade src -j awall-masquerade
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2208
2209
-A PREROUTING -i eth0 -j REDIRECT
-A PREROUTING -i eth1 -s 10.0.0.0/12 -j REDIRECT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2210
2211
-A awall-masquerade -m set ! --match-set awall-masquerade dst -j MASQUERADE
COMMIT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2212
2213
2214
2215
*raw
:OUTPUT ACCEPT [0:0]
:PREROUTING ACCEPT [0:0]
-A OUTPUT -j CT --notrack
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2216
-A OUTPUT -j CT --notrack
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2217
-A PREROUTING -j CT --notrack
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2218
2219
2220
-A PREROUTING -i eth0 -j CT --notrack
-A PREROUTING -i eth1 -s 10.0.0.0/12 -j CT --notrack
-A PREROUTING -m addrtype --dst-type LOCAL -j CT --notrack
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2221
COMMIT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2222
2223
2224
2225
2226
2227
2228

# rules6-save generated by awall
*filter
:FORWARD DROP [0:0]
:INPUT DROP [0:0]
:OUTPUT DROP [0:0]
:icmp-routing - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
:limit-0 - [0:0]
:limit-1 - [0:0]
:limit-10 - [0:0]
:limit-11 - [0:0]
:limit-12 - [0:0]
:limit-13 - [0:0]
:limit-14 - [0:0]
:limit-15 - [0:0]
:limit-16 - [0:0]
:limit-17 - [0:0]
:limit-18 - [0:0]
:limit-19 - [0:0]
:limit-2 - [0:0]
:limit-20 - [0:0]
:limit-21 - [0:0]
:limit-22 - [0:0]
:limit-23 - [0:0]
:limit-24 - [0:0]
:limit-25 - [0:0]
:limit-26 - [0:0]
:limit-27 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2250
2251
:limit-28 - [0:0]
:limit-29 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2252
:limit-3 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
:limit-30 - [0:0]
:limit-31 - [0:0]
:limit-32 - [0:0]
:limit-33 - [0:0]
:limit-34 - [0:0]
:limit-35 - [0:0]
:limit-36 - [0:0]
:limit-37 - [0:0]
:limit-38 - [0:0]
:limit-39 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2263
:limit-4 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
:limit-40 - [0:0]
:limit-41 - [0:0]
:limit-42 - [0:0]
:limit-43 - [0:0]
:limit-44 - [0:0]
:limit-45 - [0:0]
:limit-46 - [0:0]
:limit-47 - [0:0]
:limit-48 - [0:0]
:limit-49 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2274
:limit-5 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
:limit-50 - [0:0]
:limit-51 - [0:0]
:limit-52 - [0:0]
:limit-53 - [0:0]
:limit-54 - [0:0]
:limit-55 - [0:0]
:limit-56 - [0:0]
:limit-57 - [0:0]
:limit-58 - [0:0]
:limit-59 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2285
2286
2287
2288
2289
2290
2291
:limit-6 - [0:0]
:limit-7 - [0:0]
:limit-8 - [0:0]
:limit-9 - [0:0]
:logaccept-0 - [0:0]
:logaccept-1 - [0:0]
:logaccept-2 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2292
:logaccept-3 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2293
2294
2295
2296
:logaccept-final-0 - [0:0]
:logaccept-final-1 - [0:0]
:logaccept-final-2 - [0:0]
:logaccept-final-3 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2297
2298
:logaccept-final-4 - [0:0]
:logaccept-final-5 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2299
2300
2301
:logdrop-0 - [0:0]
:logdrop-1 - [0:0]
:logdrop-10 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2302
2303
2304
2305
:logdrop-11 - [0:0]
:logdrop-12 - [0:0]
:logdrop-13 - [0:0]
:logdrop-14 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
:logdrop-2 - [0:0]
:logdrop-3 - [0:0]
:logdrop-4 - [0:0]
:logdrop-5 - [0:0]
:logdrop-6 - [0:0]
:logdrop-7 - [0:0]
:logdrop-8 - [0:0]
:logdrop-9 - [0:0]
:logpass-0 - [0:0]
:logreject-0 - [0:0]
:logtarpit-0 - [0:0]
:tarpit - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
-A FORWARD -j limit-59
-A FORWARD -j limit-58
-A FORWARD -j limit-57
-A FORWARD -j limit-56
-A FORWARD -j limit-55
-A FORWARD -j limit-54
-A FORWARD -j limit-53
-A FORWARD -j limit-52
-A FORWARD -j limit-51
-A FORWARD -j limit-50
-A FORWARD -j limit-49
-A FORWARD -j limit-48
-A FORWARD -j limit-47
-A FORWARD -j limit-46
-A FORWARD -j limit-45
-A FORWARD -j limit-44
-A FORWARD -j limit-43
-A FORWARD -j limit-42
-A FORWARD -j limit-41
-A FORWARD -j limit-40
-A FORWARD -j limit-39
-A FORWARD -j limit-38
-A FORWARD -j limit-37
-A FORWARD -j limit-36
-A FORWARD -j limit-35
-A FORWARD -j limit-34
-A FORWARD -j limit-33
-A FORWARD -j limit-32
-A FORWARD -j limit-31
-A FORWARD -j limit-30
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2348
-A FORWARD -m conntrack --ctstate ESTABLISHED -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
-A FORWARD -j ACCEPT
-A FORWARD -j ACCEPT
-A FORWARD -j logdrop-0
-A FORWARD 
-A FORWARD -j logreject-0
-A FORWARD -j logtarpit-0
-A FORWARD -j limit-0
-A FORWARD -j limit-1
-A FORWARD -j limit-2
-A FORWARD -j limit-3
-A FORWARD -j limit-4
-A FORWARD -j limit-5
-A FORWARD -j limit-6
-A FORWARD -j limit-7
-A FORWARD -j limit-8
-A FORWARD -j limit-9
-A FORWARD -j limit-10
-A FORWARD -j limit-11
-A FORWARD -j limit-12
-A FORWARD -j limit-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383