Help with traffic shapping
I have 100 users over that get IPs assigned through dhcp on the network 192.168.0.0/24.
I have a mail server on 192.168.0.2 and the linux gateway is on 192.168.0.1.
My total bandwidth is 1200kbit up and 1200kbit down. I want to split the bandwidth in a way so that any user can not use more than 96kbit at anytime. Apart from the mail server it should be allowed to get 256kbit.
The linux gateway of course should not be shapped.
If possible I want the following priorities as well.
1- Web traffic low prio
2- SSH high prio
3- Remote desktop high prio
4- Outgoing VPN connections high prio.
I have researched an tried myself. But this is really out of my league.
Any help is highly appreciated.