Possible Duplicate:
Can I limit my SSH Tunneling Speed?

So, I'm kind of making sshusers for ssh tunneling to surf some content which is blocked by my country. But, I don't want somebody to slow down others internet speed , therefore I want to limit the connection to, eg: 100KB/s. I know trickled can be used in this situation but how?

link|improve this question
It is not quit clear how you accomplish, what you describe? Wouldn't it be easier to setup a proxy? – ansi_lumen May 18 '11 at 2:09
I am talking about socks proxy ssh -D 4444 user@server then setting socks proxy localhost 4444. I am talking about that – snagcheol May 18 '11 at 6:04
feedback

migrated from stackoverflow.com May 18 '11 at 1:49

This question came from our site for professional and enthusiast programmers.

closed as exact duplicate by Ward, Scott Pack, Paul Tomblin, ErikA, Holocryptic May 18 '11 at 2:51

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

1 Answer

up vote 0 down vote accepted

The only way I can think, is probably to use some iptables-fu to limit each connection over whatever ssh port you are using. However, would using Squid maybe be a better tool for this job?

link|improve this answer
Actually right now, I am using squid however, I think ssh forwarding performance better than squid. Therefore, I am trying make modifications. I am gonna try iptables-fu – snagcheol May 18 '11 at 6:08
Really? I would suspect that ssh tunneling would be slower, just because of the encryption overhead. – James May 18 '11 at 17:41
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.