D
D
deyen2022-03-03 14:05:06
Mikrotik
deyen, 2022-03-03 14:05:06

Mikrotik How to block connections by ASN?

How to block any connections on a regular home Mikrotik whose IP addresses belong to a specific AS? e.g. AS47764. That is, you need to mark the entire AS as unreachable

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ruslan Fedoseev, 2022-03-03
@martin74ua

for this you need to have a bgp session, through which you will get this information.
the only available option is to look at the list of networks belonging to this AS and put a firewall on them...

D
Dmitry, 2022-03-03
@dtmse

Under linux, you can get a list of routes like this:

whois -h whois.radb.net -- '-i origin AS47764' | grep route:

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question