Skip to content

Instantly share code, notes, and snippets.

@diegoy
Created March 25, 2014 21:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save diegoy/9771766 to your computer and use it in GitHub Desktop.
Save diegoy/9771766 to your computer and use it in GitHub Desktop.
Slow connections on localhost
#to add network restriction
sudo tc qdisc add dev lo root netem delay 100ms
#to remove it network restriction
sudo tc qdisc del dev lo root netem delay 100ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment