I'm having a hard time wrapping my head around the mangle terminology. So I'll start from the top.
My setup:
Fios(rj45) - rb433ah - a few dumb switches and wifi
eth1 = dhcp client for fios IP, default route is added to NAT automatically (felt like a hero when I got this setup)
eth2/eth3/wifi is properly functioning & dhcp server hand out IPs properly
eth3 has eth2 as master port for switch chip
Only basic firewall rules as defined by Mikrotik wiki like 'drop invalid' and such.
All ports are bridged and 'use IP firewall' is checked, everything works perfectly and is fast. My goal is 4 QoS levels, just packet/connection priority rules regardless of user to keep thing running smoothly.
My biggest question: What 'interface' should I specify for watching traffic? (bridge? eth1? same or incoming & outgoing, or different)
When making mangle rules for outgoing traffic (ex http requests) I put 80 in destination port, correct? Does packet vs connection matter?
When making mangle rules for incoming traffic (ex http) I put 80 in source port, correct? Does packet vs connection matter?
And when talking outgoing vs incoming, which is the proper chain? Prerouting or postrouting?
Here are the mangle rules I've come up with so far (in plain english, highest, fast, regular, bulk are my Qos 'levels'), please advise if I'm completely messing up incoming vs outgoing, source vs destination, etc:
Highest:
prerouting packet ICMP incoming
postrouting packet ICMP outgoing
postrouting packet dst-port 53 udp outgoing 1-1024 bytes
prerouting packet src-port 53 udp incoming 1-1024 bytes
Fast:
postrouting connection tcp dst-port 80, 443, 21 outgoing 1-5000000 bytes
prerouting connection tcp src-port 80, 443, 21 incoming 1-5000000 bytes
1 post & 1 for pre (rule here for mac address of voip adapter)
Regular:
postrouting connection tcp dst-port 80, 443, 21 outgoing 5000001-0 bytes
prerouting connection tcp src-port 80, 443, 21 incoming 5000001-0 bytes
Catch-all rule to be placed at bottom for all unmarked packets and connections
Bulk (torrents, only 1-sided due to random port use of outgoing connections and packets, and I cap connection and speeds at only part of connection already, just want QoS to schedule packets when needed):
prerouting packet udp dst-port 11911 incoming
prerouting connection tcp dst-port 11911 incoming
Thanks for any help you can give!