Skip to content

Instantly share code, notes, and snippets.

@szydan
Created October 9, 2012 15:41
Show Gist options
  • Save szydan/3859607 to your computer and use it in GitHub Desktop.
Save szydan/3859607 to your computer and use it in GitHub Desktop.
How to limit internet connection speed on linux or mac
sudo ipfw pipe 1 config bw 350kbit/s plr 0.05 delay 500ms
sudo ipfw add pipe 1 dst-port http
#to reset to your initial settings:
sudo ipfw flush
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment