7 ms·
I do not have a solution for blog like this but if you are self hosting I recommend enabling mTLS on your reverse proxy. I'm doing this for a dozen services ho
by quaintdev 10mo ago
I do not have a solution for blog like this but if you are self hosting I recommend enabling mTLS on your reverse proxy.
I'm doing this for a dozen services hosted at home. The reverse proxy just drops the request if user does not present a certificate. My devices which can present cert can connect seamlessly. It's a one time setup but once done you can forget about it.
- SoftTalker 10mo agoThat's fine if you're hosting stuff just for yourself but not really practical if you're hosting stuff you want others to be able to read, such as a blog.
- lukevp 10mo agoYou can mTLS to CloudFlare too, if you’re not one of the anti-CloudFlare people. Then all traffic drops besides traffic that passes thru CF and the mTLS handshake prevents bypassing CF.
- BehindTheMath 10mo agoYou don't need mTLS for that. Just block all IPs beside for Cloudflare's ranges.
- bogwog 10mo agoWireguard is much better. Not only is it easier to set up/maintain, it even works on Android and iOS. I used to use client authentication for my private git server, but getting client certs installed on every client browser or app was a pain in the ass, and not even possible for some mobile browsers. Today, my entire network of self hosted stuff exists in a personal wireguard VPN. My firewall blocks everything except the wireguard port (even SSH).