Skip to content

Instantly share code, notes, and snippets.

@ydarias
Created August 27, 2013 14:18
Simulating slow connections in Mac OS
#!/bin/bash
ipfw pipe 1 config bw 128Kbit/s delay 120ms
ipfw add 1 pipe 1 src-port 80
ipfw add 2 pipe 1 dst-port 80
ipfw add 3 pipe 1 src-port 8080
ipfw add 4 pipe 1 dst-port 8080
#!/bin/bash
ipfw delete 1
ipfw delete 2
ipfw delete 3
ipfw delete 4
ipfw pipe 1 delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment