Linode Forum
https://forum.linode.com/

Slow SSH tunnel - Fast SFTP ?
https://forum.linode.com/viewtopic.php?f=19&t=5476
Page 1 of 1

Author:  cattani [ Sun Apr 18, 2010 7:51 am ]
Post subject:  Slow SSH tunnel - Fast SFTP ?

hy!
I use a Putty-tunnel to forward my browser´s traffic to squid (127.0.0.1 3128 to squid on linode 3128). It works fine, but max. speed I can get is 100 KB/sec. I tested all the options in putty i could find, but it doesnt get faster. Already tried kitty, but speed is the same. Setting Firefox Proxy setting to socks4 or 5 doesnt change a thing.


All other servers on my linode provide a much higher speed:
dovecot: ~420KB/sec
linode speedtest atlanta direct ~450KB/sec
filde download from apache - ~600KB/sec
scp sftp file download - ~500KB/sec

Squid seems to be innocent, as i also tunnel port 10000 to webmin over ssh and downloads from the webmin-http-server are at 100KB/sec too.

as winscp file transfers are 5 times faster than the putty-tunnel i assume there is something wrong with my putty-config (both set to use 3des)? does anyone have an idea whats misconfigured?
thanks!

Author:  cattani [ Mon Apr 19, 2010 8:01 am ]
Post subject: 

So after trying putty with dynamic port forwarding (D8080) wich yielded exactly the same speed as with putty-squid (100KB/sec) I now have switched to openvpn + squid and speed is now
350-400KB to the Atlanta Server.

All I found on the internet is that putty/ssl might have trouble with high-latency connections, that seem to kill speed - my connection to atlanta is at about 250-300ms away..

Author:  Guspaz [ Mon Apr 19, 2010 10:54 am ]
Post subject: 

If you're using OpenVPN, you don't really need to be using Squid; you can just do NAT and access the net directly through the VPN.

Author:  cattani [ Mon Apr 19, 2010 12:01 pm ]
Post subject: 

hm, nat from tap0 to eth0, sounds interesting. problem is, my firewall setup is very basic (using webmin- 1 chain:allow lo, allow tap0, allow 25, reject all) and i imagine seting nat up (and especially testing if what i set up is what i wanted) would cost me 3 days of research ;)
thx

Author:  Guspaz [ Tue Apr 20, 2010 11:10 am ]
Post subject: 

I just installed OpenVPN-AS and told it I wanted to do NAT (it asked a yes/no question), and was up and running in just a few minutes. It pretty much takes care of all of that stuff for you.

Downside? The free license only allows two simultaneous connections max.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/