Quick question about PF and ALTQ

Girish Venkatachalam girishvenkatachalam at gmail.com
Sun Nov 11 09:03:38 PST 2007

On 14:03:29 Nov 11, Peter Boosten wrote:
> Hi all,
> One quick question: is it possible to filter specific kinds of traffic
> with altq, traffic that is not bound to specific IP addresses, like online
> radio?


Not altq(It is for QoS).

But pf can of course. :)

localip =  "www.shoutcast.com"
radioport = 554
block quick out on fxp0 proto tcp from any to $remoteip port $radioport 

Here is an example for you lift and plonk into your /etc/pf.conf. :)

Best of luck!

Obviously the IP and port are fictitious.

This will block all the incoming traffic from any internal IP to the
online radio service.

Hope this helps.

What is the port for online radio? Many use http. If you want to block
RTSP, then I guess it should be 554

More information about the freebsd-questions mailing list