Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 stackoverflow.com 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 has been asked before and already has an answer. If those answers do not fully address your question, please ask a new 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
add comment

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?

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
add comment

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