cross-posted from: https://reddthat.com/post/77259862

Any thoughts on self-hosting VPNs?

Look, I am interested in self-hosting for sure. However, maintenance sounds like a nightmare. I wanna know if it actaully sounds as scary as it is. Only answer this if you ever self-hosted your own VPN. Are there any privacy compromises? Considering that actual humans say “self hosting is the only way to have real privacy”, I’m quite interested. If you found the most effecient way to maintain your self-hosted network, please let me know

  • xylogx@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 hour ago

    The lowest tier vm on Azure/AWS or any VPS makes a fine wireguard server depending on what you want to do with it and what geolocation you need.

  • juipeltje@lemmy.world
    link
    fedilink
    arrow-up
    17
    ·
    21 hours ago

    Why is this post downvoted so much? Just curious tbh. But i’m pretty much gonna echo what has already been said here. Selfhosting a VPN isn’t that difficult with Wireguard. I’ve used this tutorial in the past and it’s working great. One thing to note that i struggled with was the endpoint. I had to use my public IP as the endpoint to make it work and access the server from outside my network, but that wasn’t clear to me from watching that video.

    But you should consider what you’re using the VPN for.

    Do you want to be able to access your selfhosted services from outside your home network? Then setting up your own VPN is a simple and safe alternative to exposing your server to the internet, especially if you’re the only one using it.

    You may have seen those commercial VPN ads about encrypting your traffic and keeping it safe from snooping, when you’re out and about on a public wifi for example. Is that what you’re after? If yes then selfhosting a VPN is also a good option because it encrypts your traffic the same way.

    Are you going to “sail the high seas”? Then selfhosting a VPN will do you no good, since the VPN will also be located in your house, they can still track you down when you’re doing something illegal. Commercial VPNs can help with this because the IP will trace back to their servers instead of your actual location.

  • burghler@sh.itjust.works
    link
    fedilink
    arrow-up
    6
    arrow-down
    2
    ·
    19 hours ago

    For those wondering why it’s down voted. Check through OPs profile, they’re a known rude and disingenuous poster. Engaging with them is like dealing with that one annoying kid who always had “your super power but plus 1” when you were a child.

    They have a poor understanding of how all the internet and service infrastructure works and when corrected or given tips, they just respond poorly. I’ve seen very very few people with a lack of self awareness like OP here doesn’t have.

      • qjkxbmwvz@startrek.website
        link
        fedilink
        arrow-up
        1
        ·
        15 hours ago

        In your original post, many of the responses are essentially, “can you clarify what you actually want?” which (as of now) are unanswered.

        The term “VPN” refers to two completely different concepts (though they are related by a common technology): privacy VPNs, and corporate/intranet VPNs. Both use similar technology stacks, but actually running your own is totally different between the two.

        If you don’t want to be considered rude, then do the research to pose your question precisely, or when asked for clarification, describe exactly what it is you’re trying to accomplish, along with your preliminary ideas on how to accomplish that.

        • atzanteol@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 hour ago

          The term “VPN” refers to two completely different concepts (though they are related by a common technology): privacy VPNs, and corporate/intranet VPNs. Both use similar technology stacks, but actually running your own is totally different between the two.

          Whaaat? Those are the same thing. The term VPN doesn’t mean something different based on what you’re using it for.

          • MonkderVierte@lemmy.zip
            link
            fedilink
            arrow-up
            2
            ·
            40 minutes ago

            VPN is a encrypted transport protocol, essentially a virtual wire through the net. This can be used to have your own closed-off little net for security, or to connect your computer to a server in a different part of the world (geo-IP) to pretend you’re there. Btw, a VPN doesn’t help at all for privacy, if you don’t aggressively block trackers and keep logged off of your usual services.

          • qjkxbmwvz@startrek.website
            link
            fedilink
            arrow-up
            1
            ·
            40 minutes ago

            OP wants to “host their own VPN,” so yes, they mean something completely different: do you want to rent rackspace and exit nodes that preserve your privacy? Or, do you want to run WiteGuard on your router/computer so you can access LAN services remotely?

            Yes a privacy VPN and a corporate/homelab VPN both use the same tech stack, but functionally they mean two different things.

          • qjkxbmwvz@startrek.website
            link
            fedilink
            arrow-up
            1
            ·
            35 minutes ago

            The tech stack, sure. But if you want to host your own privacy VPN, that’s a very different situation (rent rack space, preserve your privacy… technical part is easy, but getting privacy preserving stuff is a different situation).

            Either OP wants to do that — implement mullvad/nord/proton on their own — or they just want to open a port and run WireGuard on a home router/computer. Very different tasks, but yeah, they both use the same tunnel and require some routing.

        • MisterFred@reddthat.comOP
          link
          fedilink
          arrow-up
          1
          ·
          11 hours ago

          I did try to research my way on this topic prior to this post. This is just adding on to that. Once again, I don’t know how to sound friendly beyond not using negative words and ALL CAPS

          • just another dev@lemmy.my-box.dev
            link
            fedilink
            English
            arrow-up
            2
            ·
            3 hours ago

            You could start with answering people’s questions when they try to help you.

            That’s literally what the person above here told you, and you just answered “I don’t know, I can’t help it, oh well.”

            So yeah, either you’re a very successful troll or someone unwilling to change after people point things out to you. Either way, I think it’s better for everyone involved to not give further attention to you (and that includes downvoting)

            Goodbye.

            • MisterFred@reddthat.comOP
              link
              fedilink
              arrow-up
              0
              ·
              1 hour ago

              I am not a troll and I don’t know how to properly change. I genuinely don’t know how to use words properly beyond raw grammar

              • qjkxbmwvz@startrek.website
                link
                fedilink
                arrow-up
                1
                ·
                14 minutes ago

                Then start with an easy one, just answer this question:

                What are you trying to do?

                1. host your own privacy VPN (like mullvad/nord/proton),
                2. host your own VPN to access your LAN from the Internet (like Tailscale), or
                3. something else?
  • Admetus@sopuli.xyz
    link
    fedilink
    arrow-up
    6
    ·
    24 hours ago

    From my experience, ssh in, set up ssh key for computer, set up firewall appropriately, make sure VPN is encrypted, strong random password and you’re good to go?

    Edit: Oh and update regularly lol

  • just another dev@lemmy.my-box.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    22 hours ago

    Depends on what your goal is. I use wireguard to connect to my home network, and have access to my services that way. Works great for that.

    I could use a vps for a rented exit node, but such an external ip would just flag you for irregular traffic (not a “domestic” ip), although I guess no more than a normal vpn would. The chances your traffic is tapped there, rather than at your own isp or a big name vpn - well, that depends on your isp and where you rent your vps.

    If you want a vpn for any other reason than accessing your own network, I advice you to watch this video: https://youtu.be/WVDQEoe6ZWY?t=360 and verify if you truly need one.

    -edit: Oh, now I remember. You’re the kid who asked for advice if you should install Linux on the family computer, despite not knowing much about Linux. Yeah, this is going to end well, I can feel it.-

  • eldavi@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    14 hours ago

    your question seems very innocent so i’m wondering what you did to get the downvotes.