• A different device from your home server?
  • On the same home server as the services but directly on the host?
  • On the same home server as the services but inside some VM or container?

Do you configure it manually or do you use some helper/interface like WGEasy?

I have been personally using wgeasy but recently started locking down and hardening my containers and this node app running as root is kinda…

  • AtariDump@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 hours ago

    One instance runs on the router (Unifi USG) and the other on a Pi3 (as a backup) using PiVPN.

    Usually, if I need to set it up, I’ll use PiVPN and either a Pi or Debian/Ubuntu host.

    • Auli@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 minutes ago

      If your router is down how do you get to your pi backup?

  • Mark@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 hours ago

    That’s the fun part. I’m creating a mesh where multiple things are server and client.

    K8s, mikrotik, home assistant, frigate, pangolin, etc.

    • Auli@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 minutes ago

      I don’t get the mesh if everything is behind your router or firewall what is the point.

  • sakphul@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 day ago

    Always in the router if it supports it. If it does not support wireguard I would rather (if you are able and allowed to) replace the router instead of using something else.

      • Auli@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 minutes ago

        It’s my outside device it allows things into my network might as well terminate the VPN there. I mean if my router is down I’m not getting to the VPN endpoint inside my network.

      • dogs0n@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        17 hours ago

        Maybe easier to setup because routers that support vpns come with nice-ish web uis.

        That said, if you have a server (pc, pi, etc), setting up wireguard with wg-easy is mostly painless (comes with a nice web ui), so there is no reason to replace your router in this case!

        Instead of replacing a router, I’d prefer buying a pi anyways.

        Unless you want to route all outbound traffic through a vpn with zero config on devices, I can’t see why you’d replace a router.

        Final note: most people prefer hosting a vpn on a server, even if their router supports it as far as I’m aware at least (edit: this might be erong judging from the rest of the comments saying they use their router).

  • FrederikNJS@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 day ago

    I have a Raspberry Pi that runs pihole and Wireguard exclusively. My home server is a Kubernetes cluster running on an old desktop PC and 2 Intel NUCs.

    The reason for the separate Pi was essentially because I only had the desktop PC initially, and for a while I had a faulty CPU, making the desktop PC crash or become unresponsive, so it helped a lot having DNS and VPN access separated from the instability.

  • brewery@feddit.uk
    link
    fedilink
    English
    arrow-up
    10
    ·
    2 days ago

    I have a vps (hetzner dedicated server auction) as well as my home servers. The vps has a fixed IP so ive setup wireguard endpoints to all point to it with forwarding on so can access every device indirectly through the vps. It allows them to work across DDNS or remotely.

    I used this guide (https://www.digitalocean.com/community/tutorials/how-to-set-up-wireguard-on-ubuntu-20-04). Tried different tools gui’s and other methods but always came back to this to work the best

  • LordKitsuna@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 days ago

    One end is a local VPS with insanely good peering pretty much round the damn world, other end is my opnsense router. I actually pass a block of ipv6 through the vpn and my router hands it out to devices which is a nice little bonus