Is there anyone that would be interest in doing a video call with me to show me how all this cloudflare/nginx/authentication works? I can pay
Hello everyone
Last week I bought a domain with the intention of connecting it to my NAS so I can access my apps over the internet without tailscale (plus give access to a few family members on jellyfin). I did it through clourflare.
I was very naïve but I had no ideal of the sheer amount of learning it would require to achieve the things I'm looking to do (just basic access with some additional authentication). So far I've managed to publish my immich server (behind a authentication screen) but largely still very confused about how its actually working. And very confused about setting up external auth and using reverse proxy. Honestly feeling quite defeated.
I've posted here in the selfhosted Lemmy and you guys have been really helpful but I think I could really benefit from someone showing me and explaining how it works. I have already learnt a lot from last week but the more I learn the more questions I have.
I've taught myself home networking, I knew nothing about it before I built a NAS, but with this I just want to be sure I'm doing it right.
I can pay you. Not heaps but hopefully enough for 20-30 minutes of your time. Not trying to rip anyone off here haha
Thanks for all your continued advice on this
MuttMutt
in reply to philanthropicoctopus • • • Public MessageWhat are you using as a router? How are you you trying to setup a reverse proxy?
I will be honest, I would do it for free. Money is nice but helping people is more important to me than that. However my understanding is with OpnSense and using Caddy for reverse proxy with the ACME client for Let's Encrypt certificates. Beyond that I am outside of my element.
philanthropicoctopus
in reply to MuttMutt • • • Public MessageHey
That's very kind of you but it'd be nice to give you something.
What I've got installed in NPM, cloudflared and authentik. Just trying to figure out how to use all three or at least 2 to get my apps on the domain. Ive been able to get things moving in the cloudflare dash but I'm aware I don't know alot about what on doing
node815
in reply to philanthropicoctopus • • • Public MessageIf you are using Authentik, it will work good, but may be uneccessary if all you want is secure authentication, this is becuase Cloudflare does a "Zero Trust" model in which only approved email addresses, would be able to acess your site which you have to manually approve, otherwise, they get hit with the Cloudflare wall. This is completely free and voluntary!
In terms of Cloudflare, I assume that you have your domain all set up with the DNS servers pointed to Cloudflare from your domain registrar. This is probably the hardest part of it all. Then, it's just a matter of setting up your redirection to your server. I used to use them but haven't been in it for about a year now for my domains. They are a good company and will certainly help with your site's security.
Nginx Proxy Manager is like the reception desk for all traffic, when WWW comes in and asks for site.example.com NPM sees that and matches it up with the IP address/port of your server and sends it on it's merry way. If you are using Cloudflare Tunnels, and after you install their tunnel adaptor, you can skip NPM and just point to the IP and internal port on your server. Pretty straight forward in that area. They have great documentation on how to do this to get you started.
Basically, if you use Cloudflare tunnels, you can skip NPM and free up some resources if you want as it will be redundant. So, then Authentik comes in and can act as a traffic cop and protect all types of pages, ones with log in and those without.
ampersandrew
in reply to philanthropicoctopus • • • Public Messageartyom
in reply to philanthropicoctopus • • • Public Messagepmk
in reply to artyom • • • Public MessageFunny thing is that for every low-level concept I actually learn, the more I appreciate my OpenBSD computer that I mostly play around with otherwise.
ItzGigglez
in reply to artyom • • Public MessageI think part of it is that it *is* easy.... when you're working on your own setup, that you built, and know all the components of, and know all the long term goals of, that was built over years piece-at-a-time...
Get anyone who acts like it's easy to work on someone's setup that isn't their own, and they'll quickly remember how complicated it all is.
artyom
in reply to ItzGigglez • • • Public Messageirmadlad
in reply to ItzGigglez • • • Public MessageI would agree with this and the sentiments above. If I am on my system, I know how I have it set up. I can reference pages of notes if I do forget how I did something. I am more familiar with my server and services. When it comes to someone else's set up, I can tell you how I did it, and that it works for me. You've got to kind of adapt it to your scenario. I can understand how that would be frustrating for someone starting out, as with Linux, there seems to be a thousand ways to do one thing.
iamthetot
in reply to artyom • • • Public Messageartyom
in reply to iamthetot • • • Public MessageThat's it, exactly.
ampersandrew
in reply to iamthetot • • • Public Messagepcouy
in reply to philanthropicoctopus • • • Public MessageSpacePirate
in reply to philanthropicoctopus • • • Public MessageHey! I sent you a DM about it I was thinking we could have a call on MullvadVPNs jitsi aka meet.mulvad.net/ where others could join! If we can find a time that works for both of us we could send it here so others who are interested can join!
Edit:
Me and OP have decided on a time and date and where to have the online meeting feel free to join us at 09:00 AM Central European summer Time on Mullvads jitsi via this link meet.mullvad.se/home-lab-feddi…
philanthropicoctopus
in reply to SpacePirate • • • Public Messagemal3oon
in reply to SpacePirate • • • Public Messagemelroy
in reply to philanthropicoctopus • • • Public Messageampersandrew
in reply to melroy • • • Public Messagemelroy
in reply to ampersandrew • • • Public MessageAnd what if I have a router (like your thread, OPNsense), top-of-rack switch (10G ports) and an access-switch (1/2.5G ports). And then the ports that face end-devices are either on the access switch (that makes sense right) as well as top-level rack switch has connections towards my server machines in my rack.
So its bit more hardware then you initially though, and all devices technically support vlans. SO basically I had two questions in one:
Postmortal_Pop
in reply to philanthropicoctopus • • • Public Messagedudeface
in reply to philanthropicoctopus • • • Public MessageHappy to help you through it
No need to pay me, I am in UK Timezone if that matters
irmadlad
in reply to philanthropicoctopus • • • Public Messageirmadlad
in reply to philanthropicoctopus • • • Public MessageTrippinMallard
in reply to philanthropicoctopus • • • Public Message