VOIP traffic shaping problem
-
With the 2.0 beta, I'm not able to get the VOIP traffic in the right queue, based on the IP address of my voip adapter. I tried those floating rules:
Proto Source Port Destination Port Gateway Queue Schedule Description
UDP <adapter ip=""> * * * * qVoIP
UDP * * <adapter ip=""> * * qVoIPThe only way it seems to work is using a rule with the IP of my SIP provider as destination.
I don't understand why it doesn't work with the IP address of my adapter…</adapter></adapter>
-
does it go in the acks queue? there is an issue where if your ATA sets ToS for VOIP, that tricks pfsense into putting the packets in the wrong queue. also, your post is a little confusing. my traffic shaper setup has a qvoipup and qvoipdown, not just one queue.
-
No, the traffic goes in the default queue.
The rule/queue was created by the traffic shaper wizard.
Are the up/down queues you are talking about for pfSense 1.2.x?
-
Just to clarify:
This rules was created by the wizard:
UDP <adapter ip=""> * * * * qVoIP
And this one by me to check if it helps:
UDP * * <adapter ip=""> * * qVoIP</adapter></adapter>
-
OK, I think I found why it doesn't work.
My VOIP adapter is NATed. I guess that NAT rules are applied before the floating rules. So floating rules never "see" the LAN IP address of my adapter…
In this case, to send the VOIP traffic in the right queue, I have to choice to use the IP address of the SIP server as destination.