I have installed chilli, apache2, hostapd in raspberry pi. User can connect hostspot created by hostapd. Captive portal will open asking id password(because of chilli). Once user sign in, user redirect to the ip(say 10.10.10.10) of raspberry pi,which open local webpages stored in apache server which contains mp4 files to play. and in background user can access internet routed from ethernet to wifi hostspot.
Everything works fine. :)
Now i want to give fix bandwidth (say 128kbps(16KB/s)) to all user so that, they can use all messaging app(whatsapp,hangout,facebook massanger.) which use low traffic, and will not use steaming apps like youtube, torrent, google play update etc.
Besides local server(say ip 10.10.10.10) which contain movies in raspberry pi itself can be accessed friction free without any bandwidth restrictions by users.(exception of traffic control).
How to accomplish this. Please suggest software or packages.