I want to set a certain DSCP (or ToS) value on all packets sent over port 22. I have an iptables command to do so, but Mavericks only has the equivalent of pfctl and I can't figure out how to translate the command to pf. Can anyone help?
How can I apply this setting, but using pfctl instead of iptables:
iptables -A OUTPUT -p tcp -m tcp --sport 22 -j DSCP --set-dscp 0x10
Thanks