Internet Speed with and without OpenVPN

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
jumper
OpenVpn Newbie
Posts: 10
Joined: Tue Dec 06, 2011 1:35 am

Internet Speed with and without OpenVPN

Post by jumper » Wed Jan 18, 2012 2:44 am

Here are the tests that I did with and without OpenVPN running.

Without OpenVPN
Download Speed: 23.69 MB/s
Upload Speed: 3.20 MB/s

With OpenVPN
Download Speed: 2.83 MB/s
Upload Speed: 2.14 MB/s

Both tests were done at Speedtest.net

Why the HUGE difference and can anyone help me do something with my script to make it better?
I would really appreciate it! (script is below)
I'm also using the latest windows version (2.2.2?)

client
auth-nocache
auth-user-pass
;auth_user_pass_verify_script authpass.txt

dev tun
;connect_retry_max = 10
keepalive 20 40

# Windows needs the TAP-Win32 adapter name
# from the Network Connections panel
# if you have more than one. On XP SP2,
# you may need to disable the firewall
# for the TAP adapter.
;dev-node MyTap

;proto tcp
proto udp

;remote my-server-1 1194
;remote my-server-2 1194
remote ********.vpn.*****.net 1194

;remote-random

resolv-retry infinite

nobind

;user nobody
;group nobody

# Try to preserve some state across restarts.
persist-key
persist-tun

ca ******.pem
remote-cert-tls server
;cert client1.crt
;key client1.key

script-security 3

# Set log file verbosity.
verb 3

# Silence repeating messages
;mute 20

route-method exe
route-delay 10

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Internet Speed with and without OpenVPN

Post by maikcat » Wed Jan 18, 2012 10:03 am

can you tell us the speed links (upstream/downstream) your server and clients have?

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

jumper
OpenVpn Newbie
Posts: 10
Joined: Tue Dec 06, 2011 1:35 am

Re: Internet Speed with and without OpenVPN

Post by jumper » Wed Jan 18, 2012 2:05 pm

Thanks for the reply. Can you tell me where to find that information? I'm not sure what you're asking. Sorry to be dumb about it :)

I may have already included what you want in my original post. Is the following what you are looking for?

Without OpenVPN
Download Speed: 23.69 MB/s
Upload Speed: 3.20 MB/s

With OpenVPN
Download Speed: 2.83 MB/s
Upload Speed: 2.14 MB/s

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Internet Speed with and without OpenVPN

Post by maikcat » Wed Jan 18, 2012 2:22 pm

i meant internet speed links...

your openvpn server connects to internet right?with what speed?
same applies to your client..

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

jumper
OpenVpn Newbie
Posts: 10
Joined: Tue Dec 06, 2011 1:35 am

Re: Internet Speed with and without OpenVPN

Post by jumper » Wed Jan 18, 2012 3:34 pm

My client's connection speed to the internet is 100 mb/s.
I am unable to provide you with the information about the VPN server. It's an odd setup actually. If you've heard of it, I have a RiseUp.net account. And the way their tunnel works is, it goes to a VPN Server, then it goes back to the RiseUp server, then it comes back to me (if I understand it correctly). The VPN server is in Seattle and I live in Tennessee.

I might be better off trying to find a local (or closer) VPN server because I think I might be taking a performance hit because of having to go through two servers before it get's back to me. It's a trade off with RiseUp. They do extra filtering and cleanup to make everything more secure.

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Internet Speed with and without OpenVPN

Post by maikcat » Thu Jan 19, 2012 9:32 am

My client's connection speed to the internet is 100 mb/s.
ouaou...

i am living in the stone age.. (1mbit up/12 down) :shock:

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

jumper
OpenVpn Newbie
Posts: 10
Joined: Tue Dec 06, 2011 1:35 am

Re: Internet Speed with and without OpenVPN

Post by jumper » Thu Jan 19, 2012 9:54 am

sorry man... I'm not very good at this. I got that from the properties on my network connection.

I appreciate your help, don't worry about it.
thanks.

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Internet Speed with and without OpenVPN

Post by maikcat » Thu Jan 19, 2012 2:42 pm

I got that from the properties on my network connection.
eemm

this has nothing to do with your internet speed link... :?

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

jumper
OpenVpn Newbie
Posts: 10
Joined: Tue Dec 06, 2011 1:35 am

Re: Internet Speed with and without OpenVPN

Post by jumper » Thu Jan 19, 2012 5:54 pm

me again... does this make sense? I got these numbers from the CNET Bandwidth Meter Online Speed Test.

Line speed: 20075 Kbps

let me know if I'm getting closer :?:

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Internet Speed with and without OpenVPN

Post by maikcat » Fri Jan 20, 2012 10:59 am

possibly this is the download speed...

you need to know what your UPLOAD speed is on the openvpn server side.

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

justkian
OpenVpn Newbie
Posts: 1
Joined: Fri Feb 10, 2012 5:47 pm
Contact:

Re: Internet Speed with and without OpenVPN

Post by justkian » Fri Feb 10, 2012 5:56 pm

wow the speed difference is very striking. I never use vpn because I always get error when try to connect to the internet.

-----------------------------------
Lowongan Kerja

nitinmalik21
OpenVpn Newbie
Posts: 3
Joined: Thu Feb 02, 2012 11:40 am

Re: Internet Speed with and without OpenVPN

Post by nitinmalik21 » Wed Mar 07, 2012 6:54 am

Yes, This is very obvious to get the the difference in the internet speed with OpenVPN and without OpenVPN because when we connect with OpenVPN we are connected with a virtual TAP adapter and the other reason to get slow internet speed is as your OpenVPN Server is located at far remote location and you will get the latency due to distant location.

I would like to suggest you to test the latency by the following

1) First connect OpenVPN and ping google.com and then check the result.
2) Disconnect OpenVPN and then again ping google.com then again check the result.

If you get the same issue then you need to change the server location.

blaser
OpenVpn Newbie
Posts: 16
Joined: Fri Mar 23, 2012 8:04 pm

Re: Internet Speed with and without OpenVPN

Post by blaser » Sun Mar 25, 2012 7:48 pm

DO you push the gateway from the server?
push "redirect-gateway def1"

If that's the case the speed you are getting is the max you can get.

Post Reply