mirror of
https://github.com/thatmattlove/hyperglass.git
synced 2026-05-07 12:43:05 +00:00
Update mikrotik.py
This commit is contained in:
parent
ab514629f7
commit
62a93c0e5f
1 changed files with 8 additions and 8 deletions
|
|
@ -168,14 +168,6 @@ MikrotikBGPRouteTable = BuiltinDirective(
|
|||
action="deny",
|
||||
command="",
|
||||
),
|
||||
# Regra DENY ASN PREFIXO
|
||||
RuleWithIPv4(
|
||||
condition="${ASN-IPv4}",
|
||||
ge="${mask}",
|
||||
le="32",
|
||||
action="deny",
|
||||
command="",
|
||||
),
|
||||
# Regra DENY DEFAULT
|
||||
RuleWithIPv4(
|
||||
condition="0.0.0.0/8",
|
||||
|
|
@ -184,6 +176,14 @@ MikrotikBGPRouteTable = BuiltinDirective(
|
|||
action="deny",
|
||||
command="",
|
||||
),
|
||||
# Regra DENY ASN PREFIXO
|
||||
RuleWithIPv4(
|
||||
condition="${ASN-IPv4}",
|
||||
ge="${mask}",
|
||||
le="32",
|
||||
action="deny",
|
||||
command="",
|
||||
),
|
||||
RuleWithIPv4(
|
||||
condition="0.0.0.0/0",
|
||||
ge="8",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue