Date: Thu, 19 May 2016 19:01:54 +0300 From: Max <maximos@als.nnov.ru> To: freebsd-pf@freebsd.org Subject: Re: Traffic shaping incomming traffic for all vlans Message-ID: <3eefc0f5-eb68-dd8e-6fee-aef8d1edbd37@als.nnov.ru> In-Reply-To: <262ED41F8198C0409ACB79946570FFCD1AA134055F@EXCHANGE.mail.starnet.cz> References: <262ED41F8198C0409ACB79946570FFCD1AA134055F@EXCHANGE.mail.starnet.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
19.05.2016 12:48, Radek Krejča пишет:
> Hello,
>
> 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 192.168.52.0/24
>
> but the same rule with externa nic dosnt match: block quick on $ext_if proto { tcp, udp } from 192.168.52.0/24
> Why?
Is there any nat rule?
>
> And second problem - how to set up (on which interface) altq queues?
You should use outgoing interface.
>
> Thank you very much.
> Radek
>
> _______________________________________________
> freebsd-pf@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3eefc0f5-eb68-dd8e-6fee-aef8d1edbd37>
