Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2016 11:48:28 +0200
From:      =?iso-8859-2?Q?Radek_Krej=E8a?= <radek.krejca@starnet.cz>
To:        "'freebsd-pf@freebsd.org'" <freebsd-pf@freebsd.org>
Subject:   Traffic shaping incomming traffic for all vlans
Message-ID:  <262ED41F8198C0409ACB79946570FFCD1AA134055F@EXCHANGE.mail.starnet.cz>

next in thread | raw e-mail | index | archive | help
Hello,

I have freebsd router with pf for NAT and firewall. There are 2 NICs, one f=
or incomming traffic from internet and second for traffic to clients. On in=
ternal 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 192.168.52.0/24=20

but the same rule with externa nic dosnt match: block quick on $ext_if prot=
o { tcp, udp } from 192.168.52.0/24
Why?

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

Thank you very much.
Radek




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?262ED41F8198C0409ACB79946570FFCD1AA134055F>