Created
October 30, 2012 17:36
-
-
Save mping/3981751 to your computer and use it in GitHub Desktop.
Redirect all traffic from one port to another, simulating slow connections
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# will listen on 4444, redir to 4567, speed is 1024*32 = 32kbytes/sec (slow!) | |
redir --lport=4444 --cport=4567 --max_bandwidth $((1024*32)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment