Re. checking voip.ms packets, here's an article I wrote on configuring a switch and checking for tagged packets:
Basic QoS Setup on a Cisco SG 200 Switch
Thanks, I'll look into that. I would expect that voip.ms packets are tagged. However, when I tried to QoS based on asterisk 1.4 defaults I wasn't successful. So verifying presence of ToS tagging from * 1.4 would be a good starting point.
As a workaround, I prioritized ports 10000-20000. Naturally, this works just as well, as those ports are forwarded to PIAF. If they were not this approach wouldn't work. But I need to forward them anyway, and am not interested in VoIP over VPN. Besides, iptables and fail2ban do just find at kicking out wannabe hackers trying to guess my strong passwords.

