Nyr / openvpn-install

OpenVPN road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora
MIT License
19.06k stars 4.9k forks source link

Slow speed on client side on some vps servers #372

Closed yakamasix closed 6 years ago

yakamasix commented 6 years ago

Hi, I have big problem with some vps servers, it doesnt matter its ubuntu 12,14,16 or debian 6,7,8 try every, all have 1Gbit network, on windows vpn client i got only 2-5 Mbps or even less https://snag.gy/1hEJje.jpg left vps, right client. How to resolve this? i read many tutorials, i beginner in linux, please write me an ideas

yakamasix commented 6 years ago

client have 80 Mbits connection, UDP protocol is using

lukebarone commented 6 years ago

This will likely get closed but I'll try to help anyways.

What VPS are you using? What tier have you paid for? What other services are running? Where (geographically) are you located, vs your VPS? One your server, can you run this command, and post the output

On Tue, Oct 17, 2017 at 1:01 PM, yakamasix notifications@github.com wrote:

Hi, I have big problem with some vps servers, it doesnt matter its ubuntu 12,14,16 or debian 6,7,8 try every, all have 1Gbit network, on windows vpn client i got only 2-5 Mbps or even less https://snag.gy/1hEJje.jpg left vps, right client. How to resolve this? i read many tutorials, i beginner in linux, please write me an ideas

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Nyr/openvpn-install/issues/372, or mute the thread https://github.com/notifications/unsubscribe-auth/AGcIFoyQ65zk1fnaE1AJb7N9tCgsw3hPks5stQeagaJpZM4P8vGl .

yakamasix commented 6 years ago

Im from Poland, server located in ukraine (this ping is normally 60ms, dont know why was 220) i must using this server. Deltahost.com, paid 5,4$ month https://deltahost.com/vps.html linux server 1gb ram, no services are running, clear installation with apt-get upgrade apt-get update, nothing else, i try ubuntu, centos, debian, all versions, i ask them about limits, no limit i shoud get full speed, i read many topics in internet, people have the same problem in some servers with openvpn

yakamasix commented 6 years ago

i know that you see GUI screenshot, but later i reinstall and install this script on clear systems, doesnt help

yakamasix commented 6 years ago

im a noob in linux, try to run this but no result :( can you give me your skype? i can provide teamviewer ID and password and if you have time you check whats going on

yakamasix commented 6 years ago

i installed speedtest-cli, because i have clear system ubuntu 16 now with intalled openvpn script from this site, what now? i try run https://github.com/sivel/speedtest-cli try without run (sorry im a noob)

yakamasix commented 6 years ago

this is problem with openvpn, i have with them windows server 1008-2012 and PPTP work perfectly, the same ip address, so i know this is problem with connection to them via openvpn

Nyr commented 6 years ago

There are some important points:

That said:

Coincidentally, I also use an Ukranian server for VPN. I am connecting to my server from Spain, but just so you get an idea, I did a test from mine so you can see: 6715371657

TL;DR: the internet is complex, your VPN is working fine. If you want a faster connection, you'll need a server with other ISP.

Nyr commented 6 years ago

Please note that closing the issue just means that there isn't an issue with the project. Is not an order for collaborators to stop helping the affected user ;)

That said, please don't spam with multiple short messages. I don't think there is much more that we can do for you in this specific case.

yakamasix commented 6 years ago

so is difference between windows PPTP and linux openvpn?

yakamasix commented 6 years ago

why i got 60 mbps on windows? one week ago i decide to migrate from windows to linux beacause is cheaper, and i think that will be the same speed similar 60mbps, not 10 times slowe

Nyr commented 6 years ago

so is difference between windows PPTP and linux openvpn?

Yes, they are different protocols which have a different amount of overhead and which are prioritized differently by network operators. It's just different.

PPTP is obsolete and insecure, it shouldn't be used either way.

lukebarone commented 6 years ago

As well, since OpenVPN uses a higher quality of encryption, it takes more computing time to encrypt and decrypt traffic, which slows down speeds as well. I must agree with Nyr that the problem is likely related to the VPS not being close enough, or having enough resources dedicated to your instance.

On Tue, Oct 17, 2017 at 2:47 PM, Nyr notifications@github.com wrote:

so is difference between windows PPTP and linux openvpn?

Yes, they are different protocols which have a different amount of overhead and which are prioritized differently by network operators. It's just different.

PPTP is obsolete and insecure, it shouldn't be used either way.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Nyr/openvpn-install/issues/372#issuecomment-337382589, or mute the thread https://github.com/notifications/unsubscribe-auth/AGcIFpZGqbTTSPHUQ3-7JtnuxTtCWOd5ks5stSBpgaJpZM4P8vGl .

yakamasix commented 6 years ago

what you can suggest me ? any solution? i dont need a secure connection, only used for betfair exchange, i must have a vpn tunnel because i like using oracle systems, because i have 3 accounts, i need 3 diffrent virtual system with 3 diffrent IPs, thats down speed is not really enaug for 5-6 tennis market opened similitianous.

yakamasix commented 6 years ago

i trying create L2TP connection but it doesnt work at all, it seems windows need any certificate, theres one more what i can do is create PPTP connection. I really understand you, but i looking for solution almost one week, theres many tutorials that doesnt work, unfortunatelly im a noob user linux :(

lukebarone commented 6 years ago

I'm not sure, as I don't understand what your requirements are. Most solutions involving running scripts require a good knowledge of the networking stacks, networking schemas, and shell commands. This script is meant as a script for the road warriors, which does not sound like what you're looking for. You can try posting most information on a help site, like Super User, but be aware they expect a high-quality question to get a good answer. See this page for a better idea of what works and doesn't for a good question.

On Tue, Oct 17, 2017 at 2:54 PM, yakamasix notifications@github.com wrote:

i trying create L2TP connection but it doesnt work at all, it seems windows need any certificate, theres one more what i can do is create PPTP connection. I really understand you, but i looking for solution almost one week, theres many tutorials that doesnt work, unfortunatelly im a noob user linux :(

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Nyr/openvpn-install/issues/372#issuecomment-337384521, or mute the thread https://github.com/notifications/unsubscribe-auth/AGcIFlymeTnZy7fFWQ9cQM8J0OtL6ttgks5stSIegaJpZM4P8vGl .

Nyr commented 6 years ago

what you can suggest me ?

If you are in Poland and just want a foreign VPS, Germany will generally provide the best latency and bandwidth for you. I can even suggest a provider if you want to try.

Other than that, we have a bit of trouble understanding your needs, but this is starting to get really out of the scope of this issue tracker so I'm locking the thread here. Please do not open a new issue about the same matter.