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 🌻

  • nottelling@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    8 months ago

    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.

  • Toes♀@ani.social
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    8 months ago

    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

    https://youtu.be/4A9MmnAz9Tk

    https://youtu.be/88GyLoZbDNw

  • NoLifeKing@ani.social
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 months ago

    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.

    • sugar_in_your_tea@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 months ago

      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.

      • NoLifeKing@ani.social
        link
        fedilink
        English
        arrow-up
        3
        ·
        8 months ago

        Biggest limit for wire guard between two Linux servers is either the server hardware or the cables in between.

      • u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        8 months ago

        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%.

  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 months ago

    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.