Skip to content

Commit

Permalink
added (incomplete) mikrotik example
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfgang Tremmel committed Feb 9, 2024
1 parent 3eae7b6 commit 38136d2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/guides/route_filtering/inbound/prefix_length.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,14 @@ Configuration examples:
!
neighbor 2001:db8::1 route-map upstream-in-v6 in
!
```

=== "Mikrotik"
Mikrotik works with filter-lists, for easier readability you can use sub-filters (note this example only shows the filter lists itself):
```
/routing filter
add action=jump chain=upstream-in-v4 jump-target=ipv4-size
...
add action=reject chain=ipv4-size prefix-length=0-7
add action=reject chain=ipv4-size prefix-length=25-32
```

0 comments on commit 38136d2

Please sign in to comment.