Skip to content

Instantly share code, notes, and snippets.

@roccozanni
Created January 31, 2014 11:31
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 roccozanni/8730419 to your computer and use it in GitHub Desktop.
Save roccozanni/8730419 to your computer and use it in GitHub Desktop.
Simulate slow network on Mac
# Create a bandwith/delay configurable pipe
ipfw pipe 1 config bw XXXKBytes/s delay XXXms
# Route traffic to that pipe
ipfw add 1 pipe 1 dst-port XXXX
# Stop routing traffic to that pipe
ipfw delete 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment