Chce za pomocą Nicesharper'a konkretym userom dać 128 128 i 256 kbps na mojej neo 512 ale coś skopałem z configiem:
<global>
iface inet ppp0 auto
iface local eth0 10.1.1.1/24
do not shape local ppp0 auto with 10.1.1.0/24
do not shape local 10.1.1.1 with 10.1.1.0/24
shape router false
stats unit kbps # dump 5c file /var/www/stats/nsstats.txt
resolve hostname true
method mark
reload 1s
</global>
<download>
link speed 512kbps shape 487kbps
user low 128kbps ceil 256kbps strict 90% prio 5
# interactive rate 0kbps ceil 0kbps
# interactive srcport 27960,22 dstport 27960,22
# interactive srcip 208.231.90.235
# interactive u32 match ip protocol 1 0xff
# interactive u32 match ip tos 0x10 0xff
# policy dynamic
</download>
<upload>
link speed 128kbps shape 122kbps
user low 56kbps ceil 56kbps strict 90% prio 5
# interactive rate 0kbps ceil 0kbps
# interactive srcport 22,27960 dstport 22,27960
# interactive dstip 208.231.90.235
# policy dynamic
</upload>
Users:
10.1.1.2 eth0 dl_rate 256kbps
10.1.1.3 eth0 dl_rate 128kbps
10.1.1.4 eth0 dl_rate 128kbps