# VPN increasing my wifi speed. Any home options?

**URL:** <https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685>\
**Category:** Factual Questions\
**Created:** [January 20, 2016, 5:06pm UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685 "2016-01-20T17:06:23Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Driver8](https://avatars.discourse-cdn.com/v4/letter/d/b5a626/32.png) [@Driver8](https://boards.straightdope.com/u/Driver8)\
**Post date:** [January 20, 2016, 10:03pm UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685/21 "2016-01-20T22:03:32Z")

</div>

> [@carnivorousplant](#):
>
> If you are using speedtest through your VPN, it is reporting how fast the connection from work to speedtest is. Your traffic must still go through your regular internet connection at your house. Using the VPN to browse will be a tiny bit slower than your home connection since everything goes from say, CNN to work and then to your house.

Is this really true? My intuition is that something like [speedtest.net](http://speedtest.net) would be measuring performance between the final client (i.e. the web browser in the home) and the final server (i.e. the [speedtest.net](http://speedtest.net) server itself). I couldn’t find anything online to convince me that my intuition was false.

So if you’re on the work VPN the connection measured would be \<home\> -\> \<VPN\> -\> \<work\> -\> \<big scary internet\> -\> \<speedtest.net\>. I’d welcome an expert in the field to show me I’m wrong, because I’m genuinely interested in the mechanics of a test that measures only between [speedtest.net](http://speedtest.net) and the work machines.

In my online search I did come across some potential reasons why a VPN might appear faster than a native connection:

1. The VPN supports data compression, meaning despite the VPN overhead you’re sending and receiving much less data over the slow home to ISP wires and consequently seeing faster speeds.

2. The VPN connects to a much faster DNS server than the one you’re configured to use when connecting directly through your ISP.

Again, I’m no expert, but perhaps there are some plausible reasons why this might be happening.

---

<div class="post-metadata">

**Author:** ![Driver8](https://avatars.discourse-cdn.com/v4/letter/d/b5a626/32.png) [@Driver8](https://boards.straightdope.com/u/Driver8)\
**Post date:** [January 20, 2016, 10:20pm UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685/22 "2016-01-20T22:20:08Z")

</div>

> [@Driver8](#):
>
> 1. The VPN supports data compression, meaning despite the VPN overhead you’re sending and receiving much less data over the slow home to ISP wires and consequently seeing faster speeds.

I just ran into this blog post, which talks about many of the issues related to testing VPN speeds: “[Testing VPN speeds – an overview](https://www.bestvpn.com/blog/10562/testing-vpn-speeds-an-overview/)”. It mentions the compression issue.

> [@Driver8](#):
>
> 1. The VPN connects to a much faster DNS server than the one you’re configured to use when connecting directly through your ISP.

I should note that I’ve actually had non-VPN related experience with this. The Comcast DNS server was experiencing major issues (congestion?) and browsing was incredibly sluggish. Changing to an alternative DNS server (I think I used a Google server) solved the sluggishness. Perhaps you inadvertently did this by using the VPN.

---

<div class="post-metadata">

**Author:** ![lazybratsche](https://avatars.discourse-cdn.com/v4/letter/l/ba8739/32.png) [@lazybratsche](https://boards.straightdope.com/u/lazybratsche)\
**Post date:** [January 20, 2016, 10:20pm UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685/23 "2016-01-20T22:20:31Z")

</div>

I have a few more wild-assed guesses:

1. The ISP is doing some kind of dodgy manipulation of web traffic, perhaps [injecting ads into web pages](http://www.pcworld.com/article/144682/article.html). The overhead from the packet inspection and web page modification is cutting into transfer speeds. Somehow, the VPN blocks this process. Maybe the ISP looks at the first packets between **StG’s** home and the office VPN, determines that they’re encrypted, and stops manipulating all future VPN traffic.

2. The ISP has quality-of-service (QOS) rules that prioritize VPN traffic over web traffic. In a sense this is also traffic manipulation, but it’s common, above board, and the sort of thing that business customers are willing to pay good money for. A mom-and-pop rural ISP might have set up the QOS rules to prioritize all VPN traffic, rather than VPN traffic to a particular business.

---

<div class="post-metadata">

**Author:** ![Atamasama](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/atamasama/32/12961_2.png) [@Atamasama](https://boards.straightdope.com/u/Atamasama)\
**Post date:** [January 20, 2016, 10:37pm UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685/24 "2016-01-20T22:37:45Z")

</div>

Many companies reroute your browser through a proxy server when you connect with a VPN. This serves many purposes; theoretically you’re using the VPN for work so they’ll want to filter out inappropriate web sites. Also, connecting via the VPN gives you direct access to company resources, and if you visit a malicious web site your PC acts as a conduit between your company’s systems and that malicious site. A proxy using a filter blocks those sites, protecting your company.

If you use Speedtest through a proxy server it will test the internet speed of that server and its ISP, not your computer and your ISP. Because you’re not really on the Internet, you’re looking at web pages being shown to you that the proxy server has downloaded for you. That’s how proxy servers work.

---

<div class="post-metadata">

**Author:** ![Do\_Not\_Taunt](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/do_not_taunt/32/2968_2.png) [@Do\_Not\_Taunt](https://boards.straightdope.com/u/Do_Not_Taunt)\
**Post date:** [January 20, 2016, 10:37pm UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685/25 "2016-01-20T22:37:48Z")

</div>

> [@lazybratsche](#):
>
> 1. The ISP has quality-of-service (QOS) rules that prioritize VPN traffic over web traffic. In a sense this is also traffic manipulation, but it’s common, above board, and the sort of thing that business customers are willing to pay good money for. A mom-and-pop rural ISP might have set up the QOS rules to prioritize all VPN traffic, rather than VPN traffic to a particular business.

This is a pretty good hypothesis. I agree with Driver8 that speed tests should measure end-to-end bandwidth. I don’t know how they even _could_ measure only speed-test-server-to-VPN-endpoint bandwidth.

Another thing that could be happening is related to what a lot of end users saw back when Comcast was intentionally congesting their interconnects with Netflix - using a VPN redirected traffic from congested interconnects to relatively open ones, creating a much faster experience (and less buffering!) If, for some reason, the interconnect between the OP’s ISP and the speed test server he’s hitting is particularly congested, he might a) be getting generally faster speeds than the speed test is showing and b) when using the speed test through an ISP, he’s showing the actual speed that his ISP provides him.

---

<div class="post-metadata">

**Author:** ![Do\_Not\_Taunt](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/do_not_taunt/32/2968_2.png) [@Do\_Not\_Taunt](https://boards.straightdope.com/u/Do_Not_Taunt)\
**Post date:** [January 20, 2016, 10:42pm UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685/26 "2016-01-20T22:42:04Z")

</div>

> [@Atamasama](#):
>
> If you use Speedtest through a proxy server it will test the internet speed of that server and its ISP, not your computer and your ISP. Because you’re not really on the Internet, you’re looking at web pages being shown to you that the proxy server has downloaded for you. That’s how proxy servers work.

The proxy isn’t going to execute a bunch of client-side code on your behalf, though, which I presume is a necessity for calculating your actual speed. In other words, your end client is still going to have to pull down a bunch of bits from the speed test server (via the VPN), and then divide how many over unit time. This isn’t going to be done on the proxy. The proxy may serve up the HTML code for the page and assets, but that isn’t going to change the outcome of the speed test.

---

<div class="post-metadata">

**Author:** ![Atamasama](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/atamasama/32/12961_2.png) [@Atamasama](https://boards.straightdope.com/u/Atamasama)\
**Post date:** [January 20, 2016, 10:54pm UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685/27 "2016-01-20T22:54:54Z")

</div>

> [@Do\_Not\_Taunt](#):
>
> The proxy isn’t going to execute a bunch of client-side code on your behalf, though, which I presume is a necessity for calculating your actual speed. In other words, your end client is still going to have to pull down a bunch of bits from the speed test server (via the VPN), and then divide how many over unit time. This isn’t going to be done on the proxy. The proxy may serve up the HTML code for the page and assets, but that isn’t going to change the outcome of the speed test.

Let’s put it this way, I’ve done Speedtest through a VPN at a previous job, and it estimated that my closest router was down in California. I live in the Seattle area, but that company’s Internet gateway was in California (through a WAN). If I used Speedtest normally it would ping up where I lived. Whether or not the proxy was executing code, Speedtest was using that company’s gateway for the test, not mine.

---

<div class="post-metadata">

**Author:** ![Driver8](https://avatars.discourse-cdn.com/v4/letter/d/b5a626/32.png) [@Driver8](https://boards.straightdope.com/u/Driver8)\
**Post date:** [January 20, 2016, 11:02pm UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685/28 "2016-01-20T23:02:21Z")

</div>

> [@Atamasama](#):
>
> Let’s put it this way, I’ve done Speedtest through a VPN at a previous job, and it estimated that my closest router was down in California. I live in the Seattle area, but that company’s Internet gateway was in California (through a WAN). If I used Speedtest normally it would ping up where I lived. Whether or not the proxy was executing code, Speedtest was using that company’s gateway for the test, not mine.

I don’t think anyone is disputing that the bits used in the speed test are routed through your company’s gateway. We’re claiming that the download and upload speeds are calculated by client side code running in your browser, and are calculating how long it is taking for the bits to get all the way from [speedtest.net](http://speedtest.net) to your browser.

---

<div class="post-metadata">

**Author:** ![arseNal](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@arseNal](https://boards.straightdope.com/u/arseNal)\
**Post date:** [January 20, 2016, 11:31pm UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685/29 "2016-01-20T23:31:39Z")

</div>

I’m with **Driver8**. For the purposes of the speed test, it should still measure how fast is the download/upload between the client browser and the speedtest server. Having the traffic going through the VPN doesn’t change this and really ought to only slow things down, if anything. I don’t see how the 30Mbps reading could between the VPN proxy server and the speedtest server only – it would have to cut out the leg between the browser and the VPN proxy. Which is impossible, because it’s the client browser that’s initiating the download/upload and receiving/sending the bits.

But, I don’t have an answer for the OP.

---

<div class="post-metadata">

**Author:** ![Do\_Not\_Taunt](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/do_not_taunt/32/2968_2.png) [@Do\_Not\_Taunt](https://boards.straightdope.com/u/Do_Not_Taunt)\
**Post date:** [January 21, 2016, 12:52am UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685/30 "2016-01-21T00:52:57Z")

</div>

> [@Atamasama](#):
>
> Let’s put it this way, I’ve done Speedtest through a VPN at a previous job, and it estimated that my closest router was down in California. I live in the Seattle area, but that company’s Internet gateway was in California (through a WAN). If I used Speedtest normally it would ping up where I lived. Whether or not the proxy was executing code, Speedtest was using that company’s gateway for the test, not mine.

Right - if you’re connected to your company’s VPN in California, you’ll appear to speed test as if you are in California, but your VPN will still route every single bit back to your computer in Seattle, which then calculates your bandwidth. ETA: The bits would originate in California, which may make your connection slower, since they have to are more likely to experience some bottleneck along the way. There are a lot of other variables, though, so it’s certainly possible you’d actually see your speed improve.

---

<div class="post-metadata">

**Author:** ![Projammer](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/projammer/32/559_2.png) [@Projammer](https://boards.straightdope.com/u/Projammer)\
**Post date:** [January 21, 2016, 4:59am UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685/31 "2016-01-21T04:59:44Z")

</div>

I’m not convinced you haven’t got something running that’s bogging things down when not connected to vpn that’s being short-circuited by the vpn software when it is connected. I’d download a run-from-cd version of Linux and create a boot disk to run the test from. You don’t need to be any kind of Linux guru to do that because most distros have a nice graphic front end on them these days. I’d recommend Ubuntu, but my experience is several years out of date so there may be something better available.

---

<div class="post-metadata">

**Author:** ![sleestak](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@sleestak](https://boards.straightdope.com/u/sleestak)\
**Post date:** [January 21, 2016, 7:18pm UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685/32 "2016-01-21T19:18:56Z")

</div>

> [@Do\_Not\_Taunt](#):
>
> Right - if you’re connected to your company’s VPN in California, you’ll appear to speed test as if you are in California, but your VPN will still route every single bit back to your computer in Seattle, which then calculates your bandwidth. ETA: The bits would originate in California, which may make your connection slower, since they have to are more likely to experience some bottleneck along the way. There are a lot of other variables, though, so it’s certainly possible you’d actually see your speed improve.

So I went to look at what speedtest actually tests as I could see this going a couple different ways and my initial guess was wrong. According to the speedtest website:

> [@](#):
>
> Download
> 
> The client establishes multiple connections with the server over port: 8080. The client requests the server to send an initial chunk of data.  
> The client calculates the real-time speed of the transfers, then adjusts the chunk size and buffer size based on this calculation to maximize usage of the network connection.  
> As the chunks are received by the client, the client will request more chunks throughout the duration of the test.  
> During the first half of the test, the client will establish extra connections to the server if it determines additional threads are required to more accurately measure the download speed.  
> The test ends once the configured amount of time has been reached.

Note, his computer will only appear as coming from his company if they are not using a split tunnel.

[WAG]  
I suspect that the ISP is traffic shaping using packet inspection and throttling that way. The VPN traffic is encrypted and the ISP can’t tell what the heck it is so it isn’t throttled.  
[/WAG]

---

<div class="post-metadata">

**Author:** ![The\_Librarian](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/the_librarian/32/402_2.png) [@The\_Librarian](https://boards.straightdope.com/u/The_Librarian)\
**Post date:** [January 21, 2016, 8:09pm UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685/33 "2016-01-21T20:09:50Z")

</div>

Can you download some file, for instance from your Dropbox, to your desktop and time by hand?

Because I really think speedtest isn’t reporting what’s really happening. Traffic shaping shouldn’t work that way.  
**Dewey Finn** is probably right.

---

<div class="post-metadata">

**Author:** ![Dewey\_Finn](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/dewey_finn/32/4222_2.png) [@Dewey\_Finn](https://boards.straightdope.com/u/Dewey_Finn)\
**Post date:** [January 21, 2016, 8:15pm UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685/34 "2016-01-21T20:15:29Z")

</div>

I tested this last night, going to the [speedtest.net](http://speedtest.net) website from two computers, both with wired network connections and one on a VPN. The one on the VPN scored 4.58 Mbps while the other one scored 5.08 Mbps. So the VPN connection was actually slower.

---

<div class="post-metadata">

**Author:** ![StGermain](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/stgermain/32/2868_2.png) [@StGermain](https://boards.straightdope.com/u/StGermain)\
**Post date:** [January 21, 2016, 9:08pm UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685/35 "2016-01-21T21:08:43Z")

</div>

I’m going to try timing a file tomorrow when I work from home again.

I’m glad it provoked some lively discussion.

StG

---

<div class="post-metadata">

**Author:** ![Do\_Not\_Taunt](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/do_not_taunt/32/2968_2.png) [@Do\_Not\_Taunt](https://boards.straightdope.com/u/Do_Not_Taunt)\
**Post date:** [January 21, 2016, 11:09pm UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685/36 "2016-01-21T23:09:44Z")

</div>

> [@sleestak](#):
>
> Note, his computer will only appear as coming from his company if they are not using a split tunnel.

True, but a lot of the discussion was predicated on the assumption that the internet traffic was going over the VPN, so not using a split tunnel.

> [@](#):
>
> [WAG]  
> I suspect that the ISP is traffic shaping using packet inspection and throttling that way. The VPN traffic is encrypted and the ISP can’t tell what the heck it is so it isn’t throttled.  
> [/WAG]

Wouldn’t that be illegal under the net neutrality provisions?

---

<div class="post-metadata">

**Author:** ![gnoitall](https://avatars.discourse-cdn.com/v4/letter/g/bb73d2/32.png) [@gnoitall](https://boards.straightdope.com/u/gnoitall)\
**Post date:** [January 21, 2016, 11:38pm UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685/37 "2016-01-21T23:38:28Z")

</div>

> [@sleestak](#):
>
> [WAG]  
> I suspect that the ISP is traffic shaping using packet inspection and throttling that way. The VPN traffic is encrypted and the ISP can’t tell what the heck it is so it isn’t throttled.  
> [/WAG]

> [@Do\_Not\_Taunt](#):
>
> Wouldn’t that be illegal under the net neutrality provisions?

Against FCC rules. Perhaps that qualifies as “illegal” in your book.

However, nothing’s illegal until you’re caught. T-Mobile’s [been caught blatantly traffic-limiting all video streams](https://www.eff.org/deeplinks/2016/01/eff-confirms-t-mobiles-bingeon-optimization-just-throttling-applies) to the equivalent of 480p and no one’s gone to jail yet.

---

<div class="post-metadata">

**Author:** ![carnivorousplant](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/carnivorousplant/32/3563_2.png) [@carnivorousplant](https://boards.straightdope.com/u/carnivorousplant)\
**Post date:** [January 22, 2016, 1:54am UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685/38 "2016-01-22T01:54:40Z")

</div>

> [@gnoitall](#):
>
> Against FCC rules. Perhaps that qualifies as “illegal” in your book.

Well, yes. :dubious:

---

<div class="post-metadata">

**Author:** ![Do\_Not\_Taunt](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/do_not_taunt/32/2968_2.png) [@Do\_Not\_Taunt](https://boards.straightdope.com/u/Do_Not_Taunt)\
**Post date:** [January 22, 2016, 5:01pm UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685/39 "2016-01-22T17:01:34Z")

</div>

> [@gnoitall](#):
>
> Against FCC rules. Perhaps that qualifies as “illegal” in your book.
> 
> However, nothing’s illegal until you’re caught. T-Mobile’s [been caught blatantly traffic-limiting all video streams](https://www.eff.org/deeplinks/2016/01/eff-confirms-t-mobiles-bingeon-optimization-just-throttling-applies) to the equivalent of 480p and no one’s gone to jail yet.

I do count that as illegal, yes. That’s why it surprises me - I haven’t heard of any ISPs blatantly ignoring the net neutrality rules. Most of what I have heard centers around companies like T-Mobile, who are testing the edges and limits of net neutrality (T-Mobile’s argument, which I don’t agree with, is that by having an opt-out of the video ‘optimization’, a long with a completely open Binge-On program, they are compliant with net neutrality. We’ll see if the FCC agrees.)

---

<div class="post-metadata">

**Author:** ![sleestak](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@sleestak](https://boards.straightdope.com/u/sleestak)\
**Post date:** [January 22, 2016, 10:04pm UTC](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685/40 "2016-01-22T22:04:27Z")

</div>

> [@Do\_Not\_Taunt](#):
>
> I do count that as illegal, yes. That’s why it surprises me - I haven’t heard of any ISPs blatantly ignoring the net neutrality rules. Most of what I have heard centers around companies like T-Mobile, who are testing the edges and limits of net neutrality (T-Mobile’s argument, which I don’t agree with, is that by having an opt-out of the video ‘optimization’, a long with a completely open Binge-On program, they are compliant with net neutrality. We’ll see if the FCC agrees.)

Actually, I didn’t think through my last post well. That’s what I get for posting while working on another bandwidth issue\*…

I don’t think net neutrality would enter the picture at all.

StGermain buys a 5 meg circuit. The circuit is actually capable of 100 megs. So, since it is supposed to be a 5 meg circuit, they throttle it down to the correct speed. All is good.

Except the throttling is done by traffic shaping specific protocols. VPN isn’t included. Therefore the VPN traffic gets higher speed on the circuit.

Of course, this is a WAG and not particularly well thought out.

Slee

\*Got a new circuit in our data center. 100 meg. Fiber from the provider with a drop in our rack. Drop to fiber/ethernet media converter to router. Circuit is wayyyyy slow and dropping packets like mad. Huh? Interface on router at 100 full. Confused. For shits and giggles I set the router to auto/auto. Bing! Everything works. Set interface to 100/Full. It stops working. Set router to 100/auto. Bing, we are up again. The interface reports 100/Full duplex. So there is something going on with the media converter that I just don’t care enough to research as the circuit is up and working.

[Previous page](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685.md?page=1)

[Next page](https://boards.straightdope.com/t/vpn-increasing-my-wifi-speed-any-home-options/743685.md?page=3)
