How to Block BOGON IP on Mikrotik

 

Block BOGON IP on Mikrotik

/ip firewall address-listadd list=BOTNET_IP address=0.0.0.0/8

/ip firewall address-list> add list=BOTNET_IP address=100.64.0.0/64

/ip firewall address-list> add list=BOTNET_IP address=127.0.0.0/8

/ip firewall address-list> add list=BOTNET_IP address=169.254.0.0/16

/ip firewall address-list> add list=BOTNET_IP address=172.16.0.0/12

/ip firewall address-list> add list=BOTNET_IP address=192.168.0.0/16

/ip firewall address-list> add list=BOTNET_IP address=192.0.0.0/24

/ip firewall address-list> add list=BOTNET_IP address=198.18.0.0/15

/ip firewall address-list> add list=BOTNET_IP address=192.168.51.100.0/24

/ip firewall address-list> add list=BOTNET_IP address=203.0.112.0/24

/ip firewall address-list> add list=BOTNET_IP address=224.0.0.0/3

if we using any routing protocol such as OSPF,RIP etc then don’t drop  224.0.0.0/3 .

ip firewall filter add chain=forward action=drop src-address-list=BOTNET_IP

Related posts

Leave a Comment