Hi there,
the situation:
German Telekom ADSL-Connection via Mikrotik RB750Gr3 with PPPoE (modem draytek vigor 130)
connection: Upload: round about 500kbit/s, Download: 6.000kbit/s.
Voip-Telephone using Audio Codec 711
SIP-Port 5060-5076
RTP-Port: 5004-5020
Setup:
Mikrotik:
ether1 = Internet-Gateway via PPPoE
ether2 = LAN 192.168.10.0/24
ether5 = Separate subnet for voip-devices 192.168.11.0/24, VoIP-telephone directly connected with IP 192.168.11.2
NAT enabled. Maybe STUN in use ?!
The telephone works fine.
Because the internet connection has not a very high bandwidth i want to priorize voip-connection.
For this i want to mark the voip-packets first, before priorizing it in a queue.
Beginning from the bottom the second line shows the voip-data-transfer. It's about 85kbit/s and 50 packets/s.
I wonder why there's no traffic like that in the LAN, going from and to IP 192.168.11.2.
So I tried to mark all udp-packets of the voip-port-range as you can see here:
But almost no packets are marked, only a very few like 1 or 2 after some seconds.
I also tried to mangle all UDP-packets with incoming interface ether5 (for testing purposes only), but this doesnt work either.
Can you tell me where's the mistake? Is it because of STUN?
What is the right chain to mangle: prerouting or forward? Or doesn't it matter in this case?
Regards,
horstkevin