I see a lot of people here uses some form of remote access tool (VPN/Tailscale) to access their home network when not at home. I can’t really do this because my phone (iOS) can only activate one VPN profile at a time, and I often need this for other stuff.

So I chose to expose most web based services on the public internet, behind Authelia. But I don’t know how safe this is.

What I’m really unsure are things like Vaultwarden: while the web interface is protected by Authelia (even use 2FA), its API address needs to be bypassed for direct access, otherwise the mobile APP won’t work. It feels like this is negative everything I’ve done so far.

  • @ilmagico@lemmy.world
    link
    fedilink
    English
    10
    edit-2
    1 year ago

    I have my nextcloud server exposed, I keep it up to date, patched, etc. but I’d love to use the extra protection of a VPN. Just … I don’t think mobile apps work very well with that, unless I keep my phone constantly connected to the VPN, right? Or is there a smart way to do that?

        • Bdking158
          link
          fedilink
          31 year ago

          I’m my case, I’m using the OpenVPN server on my router. When I set it up, there was an option for the client to only use the VPN for local traffic. That way it’s part of the config file on my phone. Works flawlessly

    • @twent4@lemmy.world
      link
      fedilink
      English
      61 year ago

      this thread mentions an OVPN client that can do split tunneling so all you’d do is whitelist your server in the android phone and turn it on.

      ProtonVPN has tunneling too, for instance, but no self hosting option.

    • @OmltCat@lemmy.worldOP
      link
      fedilink
      English
      41 year ago

      Yea that’s basically the reason why I can’t use a VPN.

      In fact there isn’t really a problem to leave your phone connected to the selfhosted VPN all the time. If split tunneling works properly, only traffic that access your home network would actually go through the VPN, all others will just get bypassed.

      But in my case, I already need to be connected to another VPN most of my day, so can’t really go this route.

      • @constantokra@lemmy.one
        link
        fedilink
        English
        11 year ago

        Is the existing one wireguard? Because on android you can use the same interface and add another peer. You’d also have to use the same ip range and key on your VPN.

    • Bdking158
      link
      fedilink
      11 year ago

      Not sure of your setup but I use OpenVPN on my Android and have set it to whitelist apps so only the apps that need to use the VPN do so. You can also go the opposite and blacklist so all apps except those you specify use the VPN.