On 12/8/05, Julio Cesar Ody <[EMAIL PROTECTED]> wrote: > Hi all, > > > > Ok, now my question is: how do I put all my packets destined to UDP > 5060 and range UDP 10000 to 20000 through the virtual interface? > (these are the ones I need for registration and audio)
use the policy based routing of iproute2. Look at the ip man page but if you want to select the ip protocol and ports not just source and destination you will need to mark the appropriate packets with iptables. Linux Journal has a nice intro http://www.linuxjournal.com/article/7291 -- James -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
