Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

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

Try:

trickle -d 100 -u 100 firefox
share|improve this answer
    
Or simply: trickle -d 100 -u 100 ssh -D 1080 remotehost – Cakemox May 18 '11 at 8:13
    
Actually I have to limit the bandwidth on Server side so I used trickled – snagcheol May 18 '11 at 17:23

Check out wondershaper:

http://lartc.org/wondershaper/

share|improve this answer
    
ok I am trying. – snagcheol May 18 '11 at 1:34
    
have you used this? because, I little bit complex, I did not understand how to limit global network of the server. – snagcheol May 18 '11 at 1:41
    
Yea, I'm using it. It actually tries to optimize for port 22 traffic but you want to limit port 22 traffic. – dmourati May 18 '11 at 1:55
    
Its not working because of kernel restrictions. I have a vps. – snagcheol May 18 '11 at 17:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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