*assuming NAT=masquerade home router style, wan on eth1, bridging and using ip firewall*
Users outgoing packets TO internet are marked in mangle and shaped in what?
Packets from the internet to users are marked in mangle and shaped in what?
I'm still trying to wrap my head around it. My goal is to shape traffic by type, and not by user since 'users' have multiple devices that can access it all at once.
Something like:
Gaming
Streaming Video (netflix)
Browsing-High (first Xmb of connection)
The rest/torrents
Similar to what you said here:
and i cut out the sections that limit by IP since I have no need for that since my users don't have per-device or per-user priority, just traffic type.So the plan is to mark by traffic type in prerouting and limit by traffic type in global-in.
1) we mark all traffic, that would be managed by one particular Queue, at the same place (prerouting)
2) we must mark upload and download for every type of traffic separately
5) we need 2 sets of queues - one for upload, one for download