Created
January 31, 2014 11:31
-
-
Save roccozanni/8730419 to your computer and use it in GitHub Desktop.
Simulate slow network on Mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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