Tuesday, September 27, 2011

Simulating slow network connection in OSX

Setup
sudo ipfw pipe 1 config bw 16Kbit/s delay 350ms

sudo ipfw add 1 pipe 1 src-port 80
sudo ipfw add 2 pipe 1 dst-port 80


Remove
sudo ipfw delete 1
sudo ipfw delete 2

sudo ipfw pipe 1 delete

No comments:

Post a Comment