- Joined
- Jan 25, 2010
- Messages
- 1,141
- Reaction score
- 128
Hi,
I’m running 3CX v15.5 SP6 on a NUC with Debian 9.7 and I want to give SIP and RTP traffic priority.
To do so, I want to mark SIP traffic with DSCP 26 and Voice traffic (RTP) with DSCP 46.
I use this link as guide
https://www.3cx.com/blog/voip-howto/qos-linux/
I want to add the following rules in iptables
-A OUTPUT -p tcp -m tcp --sport 5060 -j DSCP --set-dscp 26
-A OUTPUT -p udp -m udp --sport 5060 -j DSCP --set-dscp 26
-A OUTPUT -p udp -m udp --sport 9000:10999 -j DSCP --set-dscp 46
Is this going to work or do it need some changes?
Any thoughts?
Thanks.
I’m running 3CX v15.5 SP6 on a NUC with Debian 9.7 and I want to give SIP and RTP traffic priority.
To do so, I want to mark SIP traffic with DSCP 26 and Voice traffic (RTP) with DSCP 46.
I use this link as guide
https://www.3cx.com/blog/voip-howto/qos-linux/
I want to add the following rules in iptables
-A OUTPUT -p tcp -m tcp --sport 5060 -j DSCP --set-dscp 26
-A OUTPUT -p udp -m udp --sport 5060 -j DSCP --set-dscp 26
-A OUTPUT -p udp -m udp --sport 9000:10999 -j DSCP --set-dscp 46
Is this going to work or do it need some changes?
Any thoughts?
Thanks.