Skip to content

Commit

Permalink
Merge pull request #82 from jof/vyos-frr-reject-invalids
Browse files Browse the repository at this point in the history
FRR/VyOS: Add an example for rejecting RPKI invalids
  • Loading branch information
nbakker authored Nov 1, 2024
2 parents 2364903 + ef39eb2 commit 4339feb
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions guides/reject_invalids.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,28 @@ A:admin@br1-nyc# info
```

## FRR (vtysh)
First, make sure that you have `-M rpki` added to the `bgpd_options=` line of
/etc/frr/daemons
```
route-map INTERNET-IN deny 10
match rpki invalid
exit
rpki
rpki cache <validator_ip> 3323 preference 1
exit
```

## VyOS
```
set protocols rpki cache <validator_ip> port '3323'
set protocols rpki cache <validator_ip> preference '1'
set policy route-map INTERNET-IN rule 10 action 'deny'
set policy route-map INTERNET-IN rule 10 match rpki 'invalid'
```

## Mikrotik

### RouterOS v7
Expand Down

0 comments on commit 4339feb

Please sign in to comment.