Hi everyone, this community is helping me a lot in starting my journey into the self-hosting world. I’m currently just experimenting using my main pc as server, but I’m planning getting an old minipc and let it running 24h.

I wanted to give acces to my hosted service from outside my wifi and since I noticed my Frirzbox router support natively Wireguard VPN i just gave it a try. It was super easy and worked flawlessly, I was able to access to my jellyfin library from 4g and other WiFi. BUT I noticed a big loss in connection speed while using my VPN (e.g. from mb/s 400 to 200 or even worse) and I’m not sure it’s a good Idea to have all my devices constantly under this kind of loss forever.

Am I doing something wrong? Do you suggest other routes in order to expose my services to outside? Thank you, and sorry if it’s a noob question.

  • Mikel@lemmy.farley.pro
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago

    Make sure the Allowed-IPs is as small a subnet as possible. Your device will only route traffic over your VPN that has a destination IP in that subnet.

    That way you’re only tunneling the traffic that needs to go over it. Everything else will go out the normal route.

    Having your device package up and encrypt every packet takes some overhead and will inherently lower your bandwidth throughput, so it’s worth minimizing the number of packets that have to go through that process.

    • Kir@feddit.itOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      On the client? It’s a great suggestion honestly. I did not noticed that the Wireguard app let me setting which specific app should have the connection routed throw the VPN. This could be a solution to limit the performance loss only for self-hosted content