Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@tjschuck
Created June 27, 2014 03:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjschuck/5128149c8525269ad666 to your computer and use it in GitHub Desktop.
Save tjschuck/5128149c8525269ad666 to your computer and use it in GitHub Desktop.
Lossy network aliases
# Lossy local network
alias lossy='sudo ipfw pipe 1 config bw 10bits && sudo ipfw add 10 pipe 1 tcp from any to me 80'
alias halflossy='sudo ipfw pipe 2 config bw 2000bits && sudo ipfw add 10 pipe 2 tcp from any to me 80'
alias delossy='sudo ipfw delete 10'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment