Monday, May 04, 2020

Re: pf table for all publicly routable ipv4 addresses

On 2020-05-04, Marko Cupać <marko.cupac@mimar.rs> wrote:
> Hi,
>
> I'd like to create pf table "all publicly routable ipv4 addresses". Is
> this possible with some short syntax?
>
> Thank you in advance.
>

something like this?

# https://www.team-cymru.org/Services/Bogons/bogon-bn-agg.txt
table <routable> {
!0.0.0.0/8
!10.0.0.0/8
!100.64.0.0/10
!127.0.0.0/8
!169.254.0.0/16
!172.16.0.0/12
!192.0.0.0/24
!192.0.2.0/24
!192.168.0.0/16
!198.18.0.0/15
!198.51.100.0/24
!203.0.113.0/24
!224.0.0.0/3
}

No comments:

Post a Comment