Skip to content

Commit

Permalink
No Transit Leaks: Add a VyOS example
Browse files Browse the repository at this point in the history
  • Loading branch information
jof committed Feb 24, 2024
1 parent a409c21 commit 2f9277b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions guides/no_transit_leaks.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,16 @@ deny from $IXP transit-as {174,701,1299,2914,3257,3320,3356,3491,4134,5511,6453,
bgp as-path access-list peerings deny .* (174|701|1299|2914|3257|3320|3356|3491|4134|5511|6453|6461|6762|6830|7018) .*
```

## VyOS
```
set policy as-path-list TRANSIT-ASNS rule 10 action 'permit'
set policy as-path-list TRANSIT-ASNS rule 10 description 'Well-known transit ASNs'
set policy as-path-list TRANSIT-ASNS rule 10 regex '.* (174|701|1299|2914|3257|3320|3356|3491|4134|5511|6453|6461|6762|6830|7018) .*'
set policy route-map PEERING-IN rule 20 action 'deny'
set policy route-map PEERING-IN rule 20 match as-path 'TRANSIT-ASNS'
```

## Nokia SR OS

```
Expand Down

0 comments on commit 2f9277b

Please sign in to comment.