This is useful for testing the effect of slow connections on mobile apps in the development emulators.

It uses IPFirewall rules to limit connections from your computer to the web (on TCP port 80) to 15KB per second (or any number you choose). Fire up the terminal and enter…

sudo ipfw pipe 1 config bw 15KByte/s sudo ipfw add 1 pipe 1 src-port 80

Just make sure you remember to remove the rule when you are done with it…

sudo ipfw delete 1