I’m more interested in the fail2ban setup. How did you do that for Jellyfin? Is it through a plugin?
Comment on How to secure Jellyfin hosted over the internet?
skoell13@feddit.org 2 weeks ago
My setup:
- Locally (all in docker) ** JF for managing and local access ** JF with read only mounted volumes that uses the network of my Wireguard client container ** Wireguard client opening a tunnel to Wireguard server on VPS ** Ping container regularly doing pings to Wireguard Server so the connection stays up (didn’t manage it otherwise)
- VPS (Oracle Cloud free tier) ** Caddy as a reverse proxy with https enabled and geolocking (only certain countries are allowed to connect to) ** fail2ban to block IPs that try to bruteforce credentials ** Wireguard server
So my clients just get the URL of my reverse proxy and can access the read only JF through my Wireguard tunnel. Didn’t have to open any ports on my side. If someone is interested I can share the docker compose files later.
lambda@programming.dev 2 weeks ago
skoell13@feddit.org 2 weeks ago
It’s a separate container, currently in the process of writing everything up, will update once done
lambda@programming.dev 2 weeks ago
Thanks!
skoell13@feddit.org 2 weeks ago
codeberg.org/skjalli/jellyfin-vps-setup here you go, took me longer than expected and I hope it’s helpful, might contain a few errors since I had to remove some settings but I guess this should work.
Enceladus@lemmy.ca 2 weeks ago
This seems like a developer/infrastructure level job, any dumb down step by step procedure to recommend?
skoell13@feddit.org 2 weeks ago
I am currently in the ptocess to document my docker fioes and upload them to codeberg with a readme, it takes a bit, will let you know once I am done
skoell13@feddit.org 2 weeks ago
codeberg.org/skjalli/jellyfin-vps-setup here you go, took me longer than expected and I hope it’s helpful, might contain a few errors since I had to remove some settings but I guess this should work.
Enceladus@lemmy.ca 2 weeks ago
Thank you! Impressive documentation work, looks like I have to learn docker first.
skoell13@feddit.org 2 weeks ago
It’s a steep learning curve for sure but once you get the basics it’s straight forward until you hit very specific problems.
Are you a Windows or Linux user? They often want to push their Docker UI application but in my opinion docker engine with docker compose is enough. There are probably a lot of great tutorials out there and I can recommend www.linuxserver.io for images.
CarlosSpicyWiener@lemmy.world 2 weeks ago
I am interested in your docker compose
skoell13@feddit.org 2 weeks ago
Will share this evening after work.
skoell13@feddit.org 2 weeks ago
codeberg.org/skjalli/jellyfin-vps-setup here you go, took me longer than expected and I hope it’s helpful, might contain a few errors since I had to remove some settings but I guess this should work.
shaserlark@sh.itjust.works 2 weeks ago
This is honestly awesome! I was thinking about a similar setup for a long time but wasn’t sure how to do this exactly, this seems exactly like the setup I was looking for. Thank you!
skoell13@feddit.org 2 weeks ago
You’re welcome, happy that I can help. I also just updated it a bit. In case you find any issues or have questions please let me know. It was mostly trial and error until it ran…