Last Updated: February 25, 2016
·
706
· sheerun

Make mac connection slow/fast on demand

slow() {
  sudo ipfw pipe 1 config bw 15KByte/s
  sudo ipfw add 1 pipe 1 src-port 80
  sudo ipfw add 1 pipe 1 dst-port 80
}

fast() {
  sudo ipfw delete 1
}