Data centre connections
Question: if I run a VPN from the London linode to the Japan linode, then from the Japan linode to my home in Japan - am I likely to get better throughput? I am assuming Linode have a fast connection between data centres. My home connection is just a cheap fibre connection - it is good for up to 17 or so megabyte a second for ftp to Japanese sites. (When I use my VPN to London direct, I get about 250KiloByte/s max).
I know, I know, I need to spend some time with trace-route to see where the network bottleneck is - but has anyone actually done this, and seen an improvement?
I have bandwidth to burn, so that isn't a problem.
Many thanks.
Nick
3 Replies
Your ISP probably throttles international bandwidth in order to keep costs down. (Next door in South Korea, international bandwidth is ~10x more expensive than domestic bandwidth. I don't think it would be much better in Japan.) So if you can make your traffic look domestic, you might get better speeds than connecting directly to your London linode.
But don't expect too much, because connectivity between Japan and UK is still rather abysmal. Your packets either have to go East through two oceans and the USA, or West through SE Asia, India, and the Middle East and/or Africa. I'd call it a success if I could get 1MB/s.
For even better results, stop using PPTP. It's very inefficient in high-latency situations. You'll probably get much better speeds with a proper protocol like OpenVPN, or even a chain of simple SSH tunnels (try sshuttle if you use Linux or OSX at home).
@hybinet:
… stop using PPTP. It's very inefficient in high-latency situations. You'll probably get much better speeds with a proper protocol like OpenVPN, or even a chain of simple SSH tunnels (try sshuttle if you use Linux or OSX at home).
I shall have a look at sshuttle - thanks for the tip. I went with pptp just because it was easy to set up without messing with certs, and because iToys have it implemented natively. But if pptp has latency issues, I should probably bite the bullet and use OpenVPN on the desktop.
@hybinet:
Why don't you just try and see how well it works?
Basically because I am not on top of it enough to "just do it" without thinking - I would have to do a fair amount of googling and messing around. Since I am "cognitive bandwidth constrained" - particularly by the time I get to hobby stuff, I thought I would see what others thought first…
Many thanks for your help.
Nick
You can do a quick test using just SSH on a London host and a Tokyo host. Configure your web browser to use a SOCKS proxy on localhost, port 1080.
Condition 1: run ssh -D localhost:1080
Condition 2: run ssh -L 1080:localhost:1080
If Condition 2 gives you better results than Condition 1, that's an indication that what you're talking about might be worth pursuing. This method is not necessarily the most efficient, as all traffic is being encrypted and decrypted twice along the way. But it may serve as a rough idea of whether you can gain anything.