• dlok@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    9 months ago

    Guys this is off topic but I’m using Ubuntu server for a jellyfin/coding server and getting headaches trying to do things cli only… for example connecting openvpn.

    My question is how much shame is there using a distro with a gui for a server

    • pizzawithdirt@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      9 months ago

      A GUI isn’t preferable on a server mostly for one reason: Security. A lower number of packages and a smaller codebase means a lower number of things to exploit. And since WM/DE codebases are rather large and they have a lot of dependencies with them, it’s really not recommended.

    • ILikeBoobies@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      9 months ago

      No shame, if you would use GUI on a different OS then you would use a GUI on Linux

      If you would use CLI on a different OS then you would use CLI on Linux

    • dan@upvote.au
      link
      fedilink
      arrow-up
      1
      ·
      9 months ago

      You could try a web UI like Webmin. If it’s a public-facing system like a VPS, the once you get the VPN working, configure Webmin to only listen on the VPN IP so that it’s not exposed publicly.

      By the way, I’d recommend Wireguard or Tailscale over OpenVPN. Tailscale uses Wireguard but makes it a lot easier to configure. One of the major advantages is that Wireguard/Tailscale are peer-to-peer models that don’t use a central server like OpenVPN does. Wireguard doesn’t have servers, only peers.

      Basically, if you have two devices on the VPN that want to communicate with each other (eg say you’re at a coffee shop and want to connect to your laptop from your phone), they can communicate directly rather than having to go through a server that’s potentially located somewhere else.

      • dlok@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        To be honest the problem is I’m trying to connect to the VPN provider I have with openvpn client. Im with windscribe, I get as far as importing the profile, attempting to start the service, entering the username and password for the VPN but the thing just won’t start.

        • dan@upvote.au
          link
          fedilink
          arrow-up
          2
          ·
          9 months ago

          Oh I see… I thought you wanted to set up your own VPN, as that’s the usual use case for a VPN (e.g. connecting to a home server while not at home).

          Looks like Windscribe have a Wireguard config generator so you could try that. https://windscribe.com/getconfig/wireguard. I don’t have an account so I can’t try it, but it may just generate a regular Wireguard config you can use with Wireguard directly, without having to use their app.

          • dlok@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            9 months ago

            I got wireguard to connect! Thank you

            The problem is now all my port forwards stopped working for accessing services via my external IP so I guess there is some kind of firewall going on via wireguard.