Skip to content

Instantly share code, notes, and snippets.

@cbeams
Created February 1, 2012 13:34
Show Gist options
  • Select an option

  • Save cbeams/1716967 to your computer and use it in GitHub Desktop.

Select an option

Save cbeams/1716967 to your computer and use it in GitHub Desktop.
ipfw add pipe 1 ip from any to any out;
ipfw add pipe 2 ip from any to any in;
ipfw pipe 1 config bw 20KByte/s queue 10Kbytes;
ipfw pipe 2 config bw 20KByte/s queue 10Kbytes;
echo ipfw delete 00100 00200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment