this post was submitted on 08 Jun 2023
88 points (100.0% liked)

Free and Open Source Software

17571 readers
18 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

I just recently started playing around with an old pc as my homeserver and am curious of any recommendations for lesser known self hostable foss software that you would recommend

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 year ago (2 children)

Caddy is simpler for the reverse proxy. Just sharing for people that get scared when they try to set up Traefik.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (2 children)

Ngnix-proxy-manager is even simpler :) But along with the automatic router creation using labels, I've found traefik to be the most robust of all three.

The traefik syntax and configuration using yaml is really initutive. I can link a good guide here if someone wants it. The official documentation isn't that good.

One of my favourite guides explaining the configuration files for traefik.

[–] [email protected] 4 points 1 year ago (1 children)

Nginx proxy manager is simple, but I can't manage to make it work with https on porkbun. Nginx-proxy works just fine and it's probably the simplest i've seen.

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

That is pretty cool :) I have a domain on porbunk too but even up putting DNS on cloudflare because porkbum uses cloudflare anyway but doesn't expose most of the features. Kind of a loss loss. Cloudflare works with pretty much everything.

I'll check out nginx-proxy. Have heard good things about swag too. How is the setup on nginx-proxy compared to other options?

[–] [email protected] 3 points 1 year ago (1 children)

I didn't know that about porkbun.

Basically you run the container and then put a couple environment variables in the containers you want to proxy and it handles all of it for you, including certs. Just works.

[–] [email protected] 2 points 1 year ago

Thanks. Seems pretty much identical to traefik which makes sense because I think most of reverse proxies just use LetsEncrypt underneath.

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

Please do! I have been trying to set up remote access to a server I have, and there seems to be so many solutions and all seem very complex.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Have linked one :) For remote access, I wouldn't necessarily use traefik at the edge. The safest solution would probably installing zerotier/tailscale on the remote server and accessing traefik through that. That way you don't have to expose unnecessary parts or worry about robustness of authentication etc.

If it is a single computer you can easily make a two computer network using the instructions from wireguard archwiki page and you're all set :)

[–] [email protected] 3 points 1 year ago (1 children)

Ooh. I signed up for tailscale, but havent gotten the configuration right I think. Also signed up for NextDNS. Got some work to do but no longer have the time.

What I actually want to do is make it so I can give out accounts to services to my family and girlfriend so they can watch movies and whatever.

Tailscale is one step to many. I think I will need to purchase a domain name or set up a VPN, which seems a little scary to me.

[–] [email protected] 1 points 1 year ago (1 children)

I think you might have confused it with something else. I will explain how to what you want :)

  1. Make an account with tailscale. You can login with your Google account.
  2. Install tailscale on the computer that has plex.
  3. Go to the terminal and run sudo tailscaled up or just run the tailscale executable in windows/mac.
  4. It will ask you to go to a url and Authorize it, login here with your tailscale account.
  5. Install tailscale in your gf's computer.
  6. Ask her to send you the url, login and Authorize that.
  7. Now if you go to tailscale website you should be able to see both computers. Look up the IP of the Plex comuter.
  8. http://plexip:32400/web from your gf's computer will let her access Plex.

That's it :)

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

Hell yes. I can do that. Thank you for the write up!

[–] [email protected] 1 points 1 year ago (1 children)

Happy to help :) Ping me if you need help with firewall or DNS after setting this up and I'll try to help.

[–] [email protected] 2 points 1 year ago

Thank you for the offer! I will definitely take you up if I run into any problems.

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

Honestly I started using traefik first and I agree, the learning curve is steep. I'm only just now starting to understand what my labels are doing. But now, I've tried caddy and literally cannot get it to work, or find how to port what I have on traefik over to caddy lol.

[–] [email protected] 1 points 1 year ago (1 children)

Here are all the steps after installing Caddy to create a reverse proxy with SSL:

  1. Open the /etc/caddy/Caddyfile file
  2. Add the following, replacing the domain and port with those that you want to use.

subdomain.example.com {

  reverse_proxy localhost:8080

}

  1. Restart Caddy with systemctl restart caddy
[–] [email protected] 3 points 1 year ago

Super interesting. I'll have to experiment with this, the guides I found were not this straight forward. Thanks!