Skip to content

Instantly share code, notes, and snippets.

@jneurock
Created July 11, 2014 06:04
Show Gist options
  • Save jneurock/23448d41902eabd82db7 to your computer and use it in GitHub Desktop.
Save jneurock/23448d41902eabd82db7 to your computer and use it in GitHub Desktop.
Simulate slow network for localhost with IP Firewall
# on
sudo ipfw add pipe 1 all from 127.0.0.1 to 127.0.0.1
sudo ipfw pipe 1 config bw 300Kbit/s delay 200ms
# off
sudo ipfw flush
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment