Just wondering how I would accomplish the following IPtables rules under Mac OSX:
iptables -A PREROUTING -t mangle -p udp --sport 7078 -J TOS --set-tos Maximize-Reliability
iptables -A PREROUTING -t mangle -p udp --sport 7078 -J TOS --set-tos Maximize-Throughput
iptables -A PREROUTING -t mangle -p udp --sport 7078 -J TOS --set-tos Mimimize-Delay
Also, with the source-port (sport), is that freely interchangeable with the destination port (dport)?
Many Thanks in advance.
Tobias
Best Answer
You want the '
ipfw
' command.