Traffic shaping incomming traffic for all vlans

Radek Krejča radek.krejca at
Thu May 19 09:49:43 UTC 2016


I have freebsd router with pf for NAT and firewall. There are 2 NICs, one for incomming traffic from internet and second for traffic to clients. On internal NIC are a lot of vlans.

I need to make traffic shaping for all users based on src ip from internet. But I have problem, it doesnt work.

Working rule for block all traffic is:

block quick proto { tcp, udp } from 

but the same rule with externa nic dosnt match: block quick on $ext_if proto { tcp, udp } from

And second problem - how to set up (on which interface) altq queues?

Thank you very much.

More information about the freebsd-pf mailing list