Skip to content

Instantly share code, notes, and snippets.

@mb00g
Created February 11, 2017 02:20
Show Gist options
  • Save mb00g/54f46425da6e5a6cb6af275c4a958d35 to your computer and use it in GitHub Desktop.
Save mb00g/54f46425da6e5a6cb6af275c4a958d35 to your computer and use it in GitHub Desktop.
Prefix Filtering MikroTik
/routing filter
add chain=ebgp-import prefix=10.10.10.0/24 prefix-length=24 invert-match=no action=discard
add chain=ebpg-import prefix=0.0.0.0/0 prefix-length=0-32 invert-match=no action=accept
/routing filter
add chain=ebgp-export prefix=10.10.10.0/24 prefix-length=24 invert-match=no action=accept
add chain=ebgp-export prefix=0.0.0.0/0 prefix-length=0-32 invert-match=no action=discard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment