Jump to content

Improving performance over a VPN

79wjd

I have a FreeNAS server at home that I'd like to remote connect to through a VPN hosted on my router, and I was wondering if there is a way to improve the performance of it... 

 

I have 50/50Mbps at both ends, however when I connect to the VPN my connection drops to 5-10/5-10Mbps. And when I try to access the server it takes forever to load the folders and their contents. Ideally I would like to be able to stream content off the drive (assume a 1GB per hour of video in terms of what I want to stream). 

 

Is there anything I can do to increase access speeds through the VPN? And shouldn't 5Mbps be sufficient to watch a 1 hour 1GB movie? (1GB movie, 1000MB/60s = 16MB/1M = .27MB/s = 2~Mbps) 

PSU Tier List | CoC

Gaming Build | FreeNAS Server

Spoiler

i5-4690k || Seidon 240m || GTX780 ACX || MSI Z97s SLI Plus || 8GB 2400mhz || 250GB 840 Evo || 1TB WD Blue || H440 (Black/Blue) || Windows 10 Pro || Dell P2414H & BenQ XL2411Z || Ducky Shine Mini || Logitech G502 Proteus Core

Spoiler

FreeNAS 9.3 - Stable || Xeon E3 1230v2 || Supermicro X9SCM-F || 32GB Crucial ECC DDR3 || 3x4TB WD Red (JBOD) || SYBA SI-PEX40064 sata controller || Corsair CX500m || NZXT Source 210.

Link to comment
Share on other sites

Link to post
Share on other sites

I don't have a solution for you but it could be beneficial to know whether the VPN affects your ping time too. I'm thinking, with VPN on, the connection could be routed differently. Also, encryption will definitely play a part in the speed. I couldn't find data on how much, but I'd find out by turning it off altogether and then testing. 

Link to comment
Share on other sites

Link to post
Share on other sites

I don't have a solution for you but it could be beneficial to know whether the VPN affects your ping time too. I'm thinking, with VPN on, the connection could be routed differently. Also, encryption will definitely play a part in the speed. I couldn't find data on how much, but I'd find out by turning it off altogether and then testing. 

It definitely does affect my ping, but I feel like that shouldn't cause the severe issues that it's causing. I could forsee the high ping times making streaming difficult, but I can't even open a folder and have all the contents of the folder load. Hell, I can't even manage to open a picture off the server. 

 

Pinging google with VPN off: 

E48Y6Tz.png

 

Pinging google with the VPN active: 

NTR2gUB.png

 

Pinging my home network with the VPN active: 

5pUf7mS.png

PSU Tier List | CoC

Gaming Build | FreeNAS Server

Spoiler

i5-4690k || Seidon 240m || GTX780 ACX || MSI Z97s SLI Plus || 8GB 2400mhz || 250GB 840 Evo || 1TB WD Blue || H440 (Black/Blue) || Windows 10 Pro || Dell P2414H & BenQ XL2411Z || Ducky Shine Mini || Logitech G502 Proteus Core

Spoiler

FreeNAS 9.3 - Stable || Xeon E3 1230v2 || Supermicro X9SCM-F || 32GB Crucial ECC DDR3 || 3x4TB WD Red (JBOD) || SYBA SI-PEX40064 sata controller || Corsair CX500m || NZXT Source 210.

Link to comment
Share on other sites

Link to post
Share on other sites

Yeah, It shouldn't do that. 100ms or so isn't that much. Hope you figure it out.

Link to comment
Share on other sites

Link to post
Share on other sites

Do you have a network diagram?

Is the VPN virtual or on it's own hardware?

Can Anybody Link A Virtual Machine while I go download some RAM?

 

Link to comment
Share on other sites

Link to post
Share on other sites

Do you have a network diagram?

Is the VPN virtual or on it's own hardware?

It's running on my Asus AC68u. 

 

As in the set up of both networks? I have my home networks on 192.168.20.x (where the VPN/the server is), and my school network where I'm at now (192.168.1.x) VPN'g into my home network. 

PSU Tier List | CoC

Gaming Build | FreeNAS Server

Spoiler

i5-4690k || Seidon 240m || GTX780 ACX || MSI Z97s SLI Plus || 8GB 2400mhz || 250GB 840 Evo || 1TB WD Blue || H440 (Black/Blue) || Windows 10 Pro || Dell P2414H & BenQ XL2411Z || Ducky Shine Mini || Logitech G502 Proteus Core

Spoiler

FreeNAS 9.3 - Stable || Xeon E3 1230v2 || Supermicro X9SCM-F || 32GB Crucial ECC DDR3 || 3x4TB WD Red (JBOD) || SYBA SI-PEX40064 sata controller || Corsair CX500m || NZXT Source 210.

Link to comment
Share on other sites

Link to post
Share on other sites

bump

PSU Tier List | CoC

Gaming Build | FreeNAS Server

Spoiler

i5-4690k || Seidon 240m || GTX780 ACX || MSI Z97s SLI Plus || 8GB 2400mhz || 250GB 840 Evo || 1TB WD Blue || H440 (Black/Blue) || Windows 10 Pro || Dell P2414H & BenQ XL2411Z || Ducky Shine Mini || Logitech G502 Proteus Core

Spoiler

FreeNAS 9.3 - Stable || Xeon E3 1230v2 || Supermicro X9SCM-F || 32GB Crucial ECC DDR3 || 3x4TB WD Red (JBOD) || SYBA SI-PEX40064 sata controller || Corsair CX500m || NZXT Source 210.

Link to comment
Share on other sites

Link to post
Share on other sites

I turned off Encryption Cipher and I'm now able to open up a video in Quicktime Player (VLC still doesn't seem to be able to open any videos -- it goes unresponsive). However, the video is extremely choppy....lows of 0 FPS up to 5fps. (My current speed test is 82ms, 11Mbps down, 9Mbps up. 

PSU Tier List | CoC

Gaming Build | FreeNAS Server

Spoiler

i5-4690k || Seidon 240m || GTX780 ACX || MSI Z97s SLI Plus || 8GB 2400mhz || 250GB 840 Evo || 1TB WD Blue || H440 (Black/Blue) || Windows 10 Pro || Dell P2414H & BenQ XL2411Z || Ducky Shine Mini || Logitech G502 Proteus Core

Spoiler

FreeNAS 9.3 - Stable || Xeon E3 1230v2 || Supermicro X9SCM-F || 32GB Crucial ECC DDR3 || 3x4TB WD Red (JBOD) || SYBA SI-PEX40064 sata controller || Corsair CX500m || NZXT Source 210.

Link to comment
Share on other sites

Link to post
Share on other sites

Just to confirm your pictures above:

1. Pinging google through local gateway

2. Pinging google through local gateway, then VPN endpoint.

3. Must be pinging a local system by local gateway -> vpn gateway -> local gateway -> local network devices ?

 

Also see below in RED

 

I have 50/50Mbps at both ends, however when I connect to the VPN my connection drops to 5-10/5-10Mbps. The other end of the VPN may be limiting your connection speed, what is your VPN service?

 

And when I try to access the server it takes forever to load the folders and their contents. Ideally I would like to be able to stream content off the drive (assume a 1GB per hour of video in terms of what I want to stream). 

 

Is there anything I can do to increase access speeds through the VPN? And shouldn't 5Mbps be sufficient to watch a 1 hour 1GB movie? (1GB movie, 1000MB/60s = 16MB/1M = .27MB/s = 2~Mbps) 

 

Try using a service like plex to auto encode the stream based on bandwidth.

Link to comment
Share on other sites

Link to post
Share on other sites

Just to confirm your pictures above:

1. Pinging google through local gateway

2. Pinging google through local gateway, then VPN endpoint.

3. Must be pinging a local system by local gateway -> vpn gateway -> local gateway -> local network devices ?

 

Also see below in RED

Yep, I was pinging my home router (I also pinged my home server and got similar results). 

 

I'm using openVPN, which is running off my Asus AC68u router. As for Plex, I tried that, but there's apparently a firewall that's blocking it even though I've disabled every firewall that could possibly be between the two. 

PSU Tier List | CoC

Gaming Build | FreeNAS Server

Spoiler

i5-4690k || Seidon 240m || GTX780 ACX || MSI Z97s SLI Plus || 8GB 2400mhz || 250GB 840 Evo || 1TB WD Blue || H440 (Black/Blue) || Windows 10 Pro || Dell P2414H & BenQ XL2411Z || Ducky Shine Mini || Logitech G502 Proteus Core

Spoiler

FreeNAS 9.3 - Stable || Xeon E3 1230v2 || Supermicro X9SCM-F || 32GB Crucial ECC DDR3 || 3x4TB WD Red (JBOD) || SYBA SI-PEX40064 sata controller || Corsair CX500m || NZXT Source 210.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×