If you have caddy as a reverse proxy inside podman user namespace separated networks, they don’t take the upstream client IP address and instead you get local IP addresses assigned to logs. Socket activation is kinda required if you want to get the client’s real IP address in your logs.
- 3 Posts
- 26 Comments
xinayder@infosec.pubto
Selfhosted@lemmy.world•Your favourite piece of selfhosting - Part 1 - Operating SystemEnglish
5·6 months agoI use openSUSE MicroOS as the container host, with podman. It was a bit tricky to install it in my Hetzner VPS and get used to how MicroOS handles system updates (it’s an immutable system), but I am quite happy with it. I found it interesting and decided to try out so I could learn how to use the system.
xinayder@infosec.pubto
Selfhosted@lemmy.world•You Should Run a Certificate Transparency LogEnglish
1·7 months agoWith Encrypted Client Hello you can have some more privacy on obtaining certificates for wildcard domains, IIRC.
xinayder@infosec.pubto
Selfhosted@lemmy.world•Security of running Headscale on a VPSEnglish
2·10 months agoI had the same considerations when I self-hosted headscale as the controller for accessing my VPS. However, I figured that it shouldn’t be a big deal, and there’s no chance of someone registering rogue devices on your mesh, because, even though any device can request enrollment to Tailscale, ultimately you need to execute a command in your headscale server to confirm the enrollment/account creation, so there shouldn’t be that much of a problem leaving the web server exposed.
xinayder@infosec.pubOPto
Selfhosted@lemmy.world•Asking for suggestions regarding Rootless PodmanEnglish
1·11 months agoOne more question, how did you manage to get the reverse proxy to proxy your pods? I just added two containers to one, and I cannot access the containers anymore by their names. Do I need to expose their ports on the pod configuration?
xinayder@infosec.pubOPto
Selfhosted@lemmy.world•Asking for suggestions regarding Rootless PodmanEnglish
2·11 months agoPersonally, I would avoid host network mode as you expose those containers to the world (good if you want that, bad if you don’t)… possibly the same with using the public IP address of your instance.
My instance is only exposing the HTTP/HTTPS ports, those are the only ports enabled in the firewall.
xinayder@infosec.pubOPto
Selfhosted@lemmy.world•Asking for suggestions regarding Rootless PodmanEnglish
1·11 months agoIt seems simple. Does it use pasta as the default networking backend? Also, I guess separating each app into their own network is added security, right? So if anything happens to one app, it cannot move laterally to the other apps unless it manages to gain access to the reverse proxy, which then it would be a huge problem.
xinayder@infosec.pubto
Selfhosted@lemmy.world•Basic Security for your Website | LoudwhisperEnglish
1·1 year agoCan you use CrowdSec to track logs from a k8s pod? Say I have my website and some other services hosted on a k3s cluster, do I need to spin up a new pod for CrowdSec or should it be installed on the host?
xinayder@infosec.pubOPto
Selfhosted@lemmy.world•Cheap, OpenWrt compatible routers with WiFi 6?English
1·2 years agowhere?
xinayder@infosec.pubOPto
Selfhosted@lemmy.world•Cheap, OpenWrt compatible routers with WiFi 6?English
1·2 years agoI guess Wifi 6 doesn’t work in 5GHz band?
xinayder@infosec.pubOPto
Selfhosted@lemmy.world•Cheap, OpenWrt compatible routers with WiFi 6?English
3·2 years agoThe VPN bandwidth doesn’t need to be that good, I was checking the GL iNet models and 200 Mbps on WireGuard is enough for me.
xinayder@infosec.pubto
Selfhosted@lemmy.world•How are you making services remotely accessible?English
43·2 years agoI found Tailscale/Headacale way more difficult to setup than Wireguard.
xinayder@infosec.pubto
Selfhosted@lemmy.world•[SOLVED] Temporarily hosting on Oracle Free tier.English
4·2 years agoI tried 5 different credit cards to setup my account and none of them worked for the free tier. Contacted customer support, they simply said “well we can’t do anything about it, it’s clearly a problem in your end and not ours even though you tried 5 different credit cards to pay for the service”.
My issues with Samsung nowadays is that they offer a very low TBW warranty compared to other brands like Kingston.
I wanted to buy a 1TB storage for my games and I couldn’t decide between Samsung and Kingston. Samsung had a 600TBW warranty for the 1TB model, Kingston had 800. I ended up choosing the KC3000 from Kingston.
xinayder@infosec.pubto
Selfhosted@lemmy.world•PSA: Update your docker installation. Leaky Vessels flaws allow hackers to escape Docker, runc containersEnglish
2·2 years agoIt’s still not an excuse to just ignore the security update because you might not be a target for hackers.
Just check your logs, there’s probably a dozen or more requests trying to access wordpress pages on your server, or login via SSH. They want to take over your server so it can be part of a botnet.
xinayder@infosec.pubto
Selfhosted@lemmy.world•After 1.5 years of learning selfhosting, this is where I'm atEnglish
2·2 years agoI think so, but if you check the official image you can definitely find out how to include custom plugins in it. I think the documentation might mention a thing or two about it too.
xinayder@infosec.pubto
Selfhosted@lemmy.world•After 1.5 years of learning selfhosting, this is where I'm atEnglish
2·2 years agoYou can install the log transformer plugin for Caddy and have it produce a readable log format for fail2ban: https://github.com/caddyserver/transform-encoder
I had this setup on my VPS before I moved to a k3s setup. I will take a look at how to migrate my fail2ban setup to the new server.
xinayder@infosec.pubto
Selfhosted@lemmy.world•Anyone knows a good lightweight self-hosted alternative to GitHub?English
12·2 years agoI’d recommend Forgejo/Gitea as others have mentioned or https://sourcehut.org (instance available at https://sr.ht/)
xinayder@infosec.pubto
Selfhosted@lemmy.world•PasswordManagement: which one of these options would you choose?English
4·2 years agoIf you own a domain name you can use the DNS-01 challenge instead of hosting a web server to serve the challenge response.
With DNS-01 it will add a TXT record to your DNS zones and check if the record exists to verify that you own the domain and then issue the certificate.
Depending on which tool you use, they usually support DuckDNS and some other free DDNS providers. If you have your domain on a registrar, chances are that it’s also supported.
Authentik supports more authentication types and I think it’s more stable so you can use it in larger production servers. VoidAuth seems to be a lightweight alternative that only provides OIDC.