Skip to content

Instantly share code, notes, and snippets.

@jefffis
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jefffis/9840996 to your computer and use it in GitHub Desktop.
Save jefffis/9840996 to your computer and use it in GitHub Desktop.
Simulate slower connections on OS X

##In the terminal:

$ sudo ipfw pipe 1 config bw 15KByte/s
$ sudo ipfw add 1 pipe 1 src-port 80

This will restrict all incoming bandwidth to 15 Kb. Change it to whatever value you like.

E.g.

$ sudo ipfw pipe 1 config bw 2KByte/s
$ sudo ipfw add 1 pipe 1 src-port 80

To remove throttling:

$ sudo ipfw delete 1

View original source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment