Skip to content

Instantly share code, notes, and snippets.

@renepardon
Created November 10, 2011 08:43
Show Gist options
  • Select an option

  • Save renepardon/1354443 to your computer and use it in GitHub Desktop.

Select an option

Save renepardon/1354443 to your computer and use it in GitHub Desktop.
Throttling bandwidth with IP firewall on MacOSX
# 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