Created
July 11, 2014 06:04
-
-
Save jneurock/23448d41902eabd82db7 to your computer and use it in GitHub Desktop.
Simulate slow network for localhost with IP Firewall
This file contains hidden or 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
# 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