Skip to content

Instantly share code, notes, and snippets.

@47star
Created May 6, 2021 09:46
Show Gist options
  • Save 47star/51c111b61189c501ec3a873cf2f406df to your computer and use it in GitHub Desktop.
Save 47star/51c111b61189c501ec3a873cf2f406df to your computer and use it in GitHub Desktop.
Cloudflare IP ranges registration script for MikroTik RouterOS
/ip firewall address-list
add address=173.245.48.0/20 list=Cloudflare
add address=103.21.244.0/22 list=Cloudflare
add address=103.22.200.0/22 list=Cloudflare
add address=103.31.4.0/22 list=Cloudflare
add address=141.101.64.0/18 list=Cloudflare
add address=108.162.192.0/18 list=Cloudflare
add address=190.93.240.0/20 list=Cloudflare
add address=188.114.96.0/20 list=Cloudflare
add address=197.234.240.0/22 list=Cloudflare
add address=198.41.128.0/17 list=Cloudflare
add address=162.158.0.0/15 list=Cloudflare
add address=172.64.0.0/13 list=Cloudflare
add address=131.0.72.0/22 list=Cloudflare
add address=104.16.0.0/13 list=Cloudflare
add address=104.24.0.0/14 list=Cloudflare
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment