Howto limit speed in browser for test

Автор | 19.02.2016

Sometimes need to shape speed in browser (Firefox) for emulate slow user connections
Using tc :

tc qdisc add dev eth0 root netem delay 2000ms 1000ms

2000ms – original packet timeout
1000ms – deviation

So, ping will be 2000ms+/-random(1000ms)
For remove rule

tc qdisc del dev eth0 root

Залишити відповідь