I’m working on my transition plan away from Windows and testing out various things in VMs as I do so, and one big hurdle is making sure the VPN client my work requires can connect. Bazzite is my target distro (primarily gaming, work less frequently), though other more traditionally structured ones like Pop!_OS and Garuda are possibilities.

I’m currently trying and failing to get the VPN client working in a distrobox (throws an error during connection saying PPP isn’t installed or supported by the kernel). However, I can successfully get the VPN connected if I overlay the client and its dependencies via rpm-ostree install, but I read somewhere that Bazzite’s philosophy is to use rpm-ostree as sparingly as possible for installing software to preserve as much containerization as possible.

Since I can get it working outside of a container, am I overthinking it? Should I just accept that this might be one of the “sparing” cases? Is Bazzite perhaps a poor fit for my use case? I’ve been trying to make sense of this guide, but I’m having trouble understanding how to apply it to my situation, since I’m not that familiar with Docker or Podman.

  • MajinBlayze [any, he/him]@hexbear.net
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    4 months ago

    A VPN is definitely an example of software you should use rpm-ostree to install.

    To add some detail, anything you install in a distrobox (or other sandbox/container) can’t add kernel modules, which I think is the error you’re getting.

    • Vincent@feddit.nl
      link
      fedilink
      arrow-up
      5
      ·
      4 months ago

      A VPN is definitely an example of software you should use rpm-ostree to install.

      I think it’s fine if you use rpm-ostree for it, but it’s not necessarily required. I recently found out that the Mozilla VPN developers are experimenting (!) with building a Flatpak, and having tried it myself, it works very well.

      • Telorand@reddthat.comOP
        link
        fedilink
        arrow-up
        2
        ·
        4 months ago

        It’s definitely not required. ProtonVPN has a flatpak client, so it’s not like the client can’t exist in other layers, in theory.

        I may have to follow up with IT, because they have OVPN for connecting to a different domain on the network, but not this one (probably low priority to change). Perhaps they can offer a way to connect that isn’t this specific client.

        • Vincent@feddit.nl
          link
          fedilink
          arrow-up
          4
          ·
          4 months ago

          Oh! Note that in Settings under Network, there’s also a VPN setting that allows you to manually configure a VPN. It has an “Import from file…” option, so presumably, there’s a way to obtain a config file that should make it work. If not, knowing which options to set might work as well.