Date: Sun, 11 Nov 2007 20:13:25 +0530 From: Girish Venkatachalam <girishvenkatachalam@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: Quick question about PF and ALTQ Message-ID: <20071111144325.GA3433@saraswathy.susmita.org> In-Reply-To: <53330.192.168.13.8.1194786209.squirrel@www.boosten.org> References: <53330.192.168.13.8.1194786209.squirrel@www.boosten.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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? > Yes. 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. regards, Girish What is the port for online radio? Many use http. If you want to block RTSP, then I guess it should be 554
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071111144325.GA3433>