Hiya, quickly wondering if there is a big difference between speeds when using a vpn compared to using a proxy server solution? Anyone got any experience here or good articles to refer to?
Thanks 🌻
A VPN is (in a generic, high level sense) a proxy. It’s just proxying layer2 frames, vs. layer 4 protocols.
So the answer depends entirely on the traffic and the architecture you’ve built to support it.
I see, thank you!
Generally speaking it’s possible for the performance to be essentially identical.
It’s more important that you pick the correct tool for the job and the how and where it’s being hosted makes sense for your use case.
Keep in mind that there’s many forms of proxies and VPNs. So your question appears more like “what’s faster, a truck or a car?” People would ask you if it’s for highway driving, towing a boat, getting to work in the city, etc
So let’s establish your use case. I’ll give you a few examples that are in favour of various popular technologies.
If you’re looking for something to run internally on your network to cache the internet to conserve bandwidth for all your clients. A squid proxy may be what you need.
If you’re looking to hide from your ISP that you’re using deluge to torrent Monster Musume a 3rd party VPN service (preferably using wireguard and a well reviewed provider) is more suitable for security and performance.
If you’re in a country where you could be executed for posting doodles of Muhammad, you’ll need a much more complicated suite of tools and the knowledge to safely use them.
https://youtube.com/playlist?list=PLQVJk9oC5JKp_8F9LPa3Pv67boA80KLm1
Thanks for the answer and examples, I’ll check out the vids 😊
It all depends on the hardware doing the work and the configuration.
VPN will be quicker for some while a proxy connection will work for others.
From my experience it depends strongly on the up/down speed of the servers in question, VPN is more secure but a tiny bit slower, but thats so little it doesn’t really matter.
Yeah, especially if you use WireGuard on Linux, which is in the kernel and hardware accelerated. It’s efficient enough that routers can run it well.
So unless you’re pushing hardware limits, I’d expect it to be a wash.
Biggest limit for wire guard between two Linux servers is either the server hardware or the cables in between.
Yep, just tried this today, and holy hell!
I have older Cisco Linksys WRT160NL running DD-WRT. With OpenVPN I could get 5Mbps capped by CPU struggling at 100%. But today I tried WireGuard, and somehow even while doing 30Mbps, the CPU was just at around 25%.