this post was submitted on 20 Mar 2024
620 points (94.4% liked)

linuxmemes

21172 readers
1416 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] dlok 5 points 7 months ago (5 children)

    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 6 points 7 months ago (1 children)

    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.

    [–] dlok 3 points 7 months ago

    I will persevere then, at least it's improving my Linux skills!

    [–] [email protected] 6 points 7 months ago

    I feel this comment

    [–] [email protected] 5 points 7 months ago

    You're dead to us

    [–] [email protected] 2 points 7 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

    [–] [email protected] 1 points 7 months ago (1 children)

    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 1 points 7 months ago (2 children)

    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.

    [–] [email protected] 2 points 7 months ago (1 children)

    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 1 points 7 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.