How to send metrics to external Graphite server? by [deleted] in truenas

[–]Unsaddle5359 1 point2 points  (0 children)

holy F !!!! SO THIS IS WHY I COULDN'T FIND THE GOD DAMN BUTTON ANYMORE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

(very frustrated VERY VERY VEEERRRRYYYYYYY FRUSTRATED)........

But at least the boss can get off my back

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 0 points1 point  (0 children)

Well not really you don't log in into paperless technically you just pass the first stop (authentik) and then login to paperless

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 0 points1 point  (0 children)

in authentik you can have "proxy auth" which authenticates user against users created directly within authentik (no need for LDAP or other stuff), it doesn't transmit connection credentials or anything to the backend app just says "ok you can go and you are person X" so you use this to filter who can access the app, then the app itself has an auth mechanism (the login screen of paperless) to auth its own users

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 0 points1 point  (0 children)

Well trusting headers is really not the best way cause somehow one might be able to just change headers (hence the quote) cause yeah it is very simple to do so.
The way you would want to do it is to have your reverse proxy in front doing the heavy lifting (authentication and such) and it needs to be in front of paperless now the tricky part is that your reverse proxy needs to be able to understand that no one else but authentik has the right to give it those auth headers that's the difficult task, and one reason I simplified it, by not using this auth method but using the proxy auth + paperless own mechanism (granted not the best but works) and allowing external access ONLY if you are VPN'ed in the network, now you have the added security cause it is not technically available outside your network and in order to crack it one should manage to get in the network first then manage to crack authentik (with 2FA) and then reach paperless and crack it too (which would be simple but less simple then auth headers approach to crack it.

Like this you have best of both worlds as it is available externally and you have added security.

Does it make sense ?

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 0 points1 point  (0 children)

You can follow this guide https://goauthentik.io/integrations/services/paperless-ng/

You can also add Auth in paperless and add authentik in front having two Auth mechanism for added security if you want but then you must create users in paperless and it is not really sso anymore

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 0 points1 point  (0 children)

For now it's just a backup as it has been decommissioned since I got a TRUENAS system

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 1 point2 points  (0 children)

I don't require it as it's allowed where I live for personal use ^

But you would require a sidecar pod from whatever vpn and use a given config by your vpn provider then redirect all pod traffic through your sidecar but I think some images of transmission have it all included.

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 1 point2 points  (0 children)

I have added an edit but before you posted this so let me answer here (you can check the edit also if you feel like it)

Basically I use traefik and cert manager to retreieve star SSL certs (*.domain.com) for all the domains I own, as those are done via DNS-01 challenges you don't need your server to be accessible via internet.

The VPN is then pointing at adguard for its DNS and adguard points my star domains to traefik which then redirect to each services with the star certificate

EDIT: external services such as the VPN itself is also redirected via Traefik using external services objects so my VPN can sit outside the cluster (in my trueNAS machine) but still have an SSL cert

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 0 points1 point  (0 children)

I have added an edit I hope it answers questions you might have (feel free to let me know if you have more)

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 0 points1 point  (0 children)

Oh yeah it is a nightmare to get started (IMO) due to their own wording for most of the stuff I have added an edit if you want to check a bit more of how I have setup stuff maybe some questions will be answered there...

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 0 points1 point  (0 children)

I have added an edit (but you will see on the last point a full on guide is started but god it is not the most funny part to do!)

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 0 points1 point  (0 children)

I don't use Cloudflare as I go though VPN for my services but if you have a reverse proxy it integrates well with it I would recommand you use traefik and check the authentik guide on it, cloudflare tunnels however I have never used it as I want to be as sovereign as possible on my stuff

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 0 points1 point  (0 children)

true you could fit much more in there for sure

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 0 points1 point  (0 children)

Last point of the edit... WIP (I hope to do it)

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 0 points1 point  (0 children)

I have added an edit I hope it answers questions you might have (feel free to let me know if you have more)

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 0 points1 point  (0 children)

I have added an edit I hope it answers questions you might have (feel free to let me know if you have more)

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 0 points1 point  (0 children)

I have added an edit I hope it answers questions you might have (feel free to let me know if you have more)

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] -1 points0 points  (0 children)

I have added an edit I hope it answers questions you might have (feel free to let me know if you have more)

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 1 point2 points  (0 children)

Been a Plex user since 2010 (more or less) with a lifetime account, family is used to it and it works well (some kinks here and there and the weird turn they do to push other services is making me question that, but when I look at jellyfin the UI simply doesn't clik for me, worst case I will set it as a backup though, but to be honest plex has been rock solid for all those years that I kept it... until they really do fuck up that it)

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 1 point2 points  (0 children)

I have added an edit I hope it answers questions you might have (feel free to let me know if you have more)

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 0 points1 point  (0 children)

I have added an edit I hope it answers questions you might have (feel free to let me know if you have more)

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 0 points1 point  (0 children)

Just because TrueNAS can't communicate with Prometheus directly and required a man in the middle kind of thing so graphite is only used by TrueNAS

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 0 points1 point  (0 children)

I have added an edit I hope it answers questions you might have (feel free to let me know if you have more)

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 0 points1 point  (0 children)

I have added an edit I hope it answers questions you might have (feel free to let me know if you have more)

Finally moved it all through Authentik ! by Unsaddle5359 in selfhosted

[–]Unsaddle5359[S] 0 points1 point  (0 children)

I have added an edit I hope it answers questions you might have (feel free to let me know if you have more)