Created
April 18, 2013 08:45
-
-
Save kirichkov/5411235 to your computer and use it in GitHub Desktop.
# Throttle all incoming and outgoing data to port 3000 at 48KB/s
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
# Throttle all incoming and outgoing data to port 3000 at 48KB/s | |
sudo ipfw pipe 1 config bw 48KByte/s | |
sudo ipfw add 101 pipe 1 src-port 3000 | |
sudo ipfw add 102 pipe 1 dst-port 3000 | |
# Delete | |
sudo ipfw delete 101 pipe 1 | |
sudo ipfw delete 102 pipe 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment