1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-05-06 20:23:05 +00:00

Update mikrotik.py

This commit is contained in:
Carlos Santos 2025-09-13 02:37:11 -03:00 committed by GitHub
parent 840e916216
commit 16af5ce591
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -177,13 +177,13 @@ MikrotikBGPRouteTable = BuiltinDirective(
command="",
),
# Regra DENY ASN PREFIXO
RuleWithIPv4(
condition="${ASN_IPv4}",
ge="${mask_IPv4}",
le="32",
action="deny",
command="",
),
#RuleWithIPv4(
# condition="x.x.x.x/x",
# ge="xx",
# le="32",
# action="deny",
# command="",
#),
RuleWithIPv4(
condition="0.0.0.0/0",
ge="8",
@ -232,13 +232,13 @@ MikrotikBGPRouteTable = BuiltinDirective(
command="",
),
# REGRA DENY ASN PREFIXO
RuleWithIPv6(
condition="${ASN_IPv6}",
ge="${mask_IPv4}",
le="128",
action="deny",
command="",
),
#RuleWithIPv6(
# condition="xxxx:xxxx::/xx",
# ge="xx",
# le="128",
# action="deny",
# command="",
#),
RuleWithIPv6(
condition="::/0",
action="permit",