forked from jeremyschulman/py-demo-simple-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo_render.conf
54 lines (53 loc) · 1.12 KB
/
demo_render.conf
1
2
3
4
5
6
7
8
9
10
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
interfaces {
reth0 {
unit 0 {
family inet {
filter {
input reth0_0_INBOUND-FILTER;
output reth0_0_OUTBOUND-FILTER;
}
}
}
}
}
firewall {
policer reth0_0_GLOBAL-POLICER {
if-exceeding {
bandwidth-limit 80m;
burst-size-limit 256k;
}
then discard;
}
filter reth0_0_OUTBOUND-FILTER {
term SOURCE-ANY {
from {
source-address {
0.0.0.0/0;
}
}
then {
policer reth0_0_GLOBAL-POLICER;
accept;
}
}
term END-POLICY {
then accept;
}
}
filter reth0_0_INBOUND-FILTER {
term SOURCE-ANY {
from {
source-address {
0.0.0.0/0;
}
}
then {
policer reth0_0_GLOBAL-POLICER;
accept;
}
}
term END-POLICY {
then accept;
}
}
}