Created
November 10, 2011 08:43
-
-
Save renepardon/1354443 to your computer and use it in GitHub Desktop.
Throttling bandwidth with IP firewall on MacOSX
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
| # Configure throttling on port 8080 and set maximum bandwidth to 56KByte/s | |
| $ sudo ipfw pipe 1 config bw 56KByte/s | |
| $ sudo ipfw add 1 pipe 1 src-port 8080 | |
| # Reset pipe 1: | |
| $ sudo ipfw delete 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment