Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

migrated from May 18 '11 at 1:49

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

marked as duplicate by Ward, Scott Pack, Paul Tomblin, EEAA, Holocryptic May 18 '11 at 2:51

This question was marked as an exact duplicate of an existing 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
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?

share|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

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