Skip to content

Instantly share code, notes, and snippets.

@timf
Created February 1, 2012 18:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timf/1718425 to your computer and use it in GitHub Desktop.
Save timf/1718425 to your computer and use it in GitHub Desktop.
Throttling BW and latency on OSX
sudo ipfw pipe 1 config bw 150kbit/s delay 150ms
sudo ipfw add pipe 1 dst-ip 0.0.0.0/0
# do slow stuff
# done:
sudo ipfw flush
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment