| Post Reply | RetroFed Forum Forum Index
» Selfhosted
Page 1 of 2 Goto page 1, 2 Next Last » |
| Author | Message | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
michaelharley
infosec.pub
michaelharley@infosec.pubJoined: 2026-04-01 |
As a homelab enthusiast, I found this a very interesting post. Here are my take aways from the post that I'm implementing myself:
|
||||||||||||||||||||
| 300 Original | |||||||||||||||||||||
|
epyon22
sh.itjust.works
epyon22@sh.itjust.works Joined: 2023-06-10 |
Have you thought about log aggregation with something like Prometheus/graphana or ELK? Lol thinking about cpu notifications for myself. I get notified when the fans ramp up on my server. |
||||||||||||||||||||
| 20 | |||||||||||||||||||||
Nickelalloy
lemmy.world
Nickelalloy@lemmy.worldJoined: 2025-09-02 |
Glad I am not selfhosting or doing homelab, It is so out of my legau. |
||||||||||||||||||||
| 4 | |||||||||||||||||||||
|
jello
programming.dev
jello@programming.dev Joined: 2025-12-08 |
I should really do a security checkup on my setup... |
||||||||||||||||||||
| 42 | |||||||||||||||||||||
|
mystik
lemmy.world
mystik@lemmy.world Joined: 2023-06-15 |
What version of forgejo were you using? CVE-2026-60004 references gitea 1.27.1 |
||||||||||||||||||||
| 8 | |||||||||||||||||||||
|
gaylord_fartmaster
lemmy.world
gaylord_fartmaster@lemmy.world Joined: 2023-07-13 |
I don't think I will ever be convinced to leave anything on my home network open to the internet no matter how convenient it is. |
||||||||||||||||||||
| 102 | |||||||||||||||||||||
ChaosMonkey
lemmy.dbzer0.com
ChaosMonkey@lemmy.dbzer0.comJoined: 2025-06-04 |
I'm thinking of adding Falco to my homelab. |
||||||||||||||||||||
| 10 | |||||||||||||||||||||
|
webghost0101
sopuli.xyz
webghost0101@sopuli.xyz Joined: 2023-07-20 |
Glad I am not selfhosting or doing homelab, It is so out of my legau.
Don't let this discourage you. You can self host on your local network just fine and never portforward which is what exposes it to the outside. I don't need to watch tv or upload pictures to my server outside of my home. Its perfectly useable. When you are ready and feel more confident you can setup your own wireguard vpn and only expose that. Then Your device can connected to that vpn tunnels inside and can acces everything like home. Currently without vpn your device is at risk every time it connects to a network you don’t own. A third party vpn is not a guarantee your data is safe either. Your home vpn though means all your outside the home networking is fully encrypted and outsiders cant even detect your home adresses is running a vpn to hack. (No ping unless you have the key) |
||||||||||||||||||||
| 40 | |||||||||||||||||||||
|
Coolcoder360
lemmy.world
Coolcoder360@lemmy.world Joined: 2023-07-03 |
Nice write up, also glad to see someone using bear blog in the field! |
||||||||||||||||||||
| 12 | |||||||||||||||||||||
|
SusanoStyle
lemmy.ml
SusanoStyle@lemmy.ml Joined: 2023-06-04 |
Don't let this discourage you. You can self host on your local network just fine and never portforward which is what exposes it to the outside. I don't need to watch tv or upload pictures to my server outside of my home. Its perfectly useable. When you are ready and feel more confident you can setup your own wireguard vpn and only expose that. Then Your device can connected to that vpn tunnels ...
This! Good advice! Before doing anything, buy a new router and put your iot devices and phones in a isolated guest network. Maintain the router updated. Then like @webghost0101@sopuli.xyz already said, once you get confident, you can run a vpn tunnel to access your lan. This setup is pretty robust, hard to fuck up, and doable even for newbies. (If i can do it, everyone can, i assure you). Lots of guides out there. Last advice, which you should already be doing, but setup a backup. |
||||||||||||||||||||
| 11 | |||||||||||||||||||||
|
doeknius_gloek
discuss.tchncs.de
doeknius_gloek@discuss.tchncs.de Joined: 2023-12-30 |
What version of forgejo were you using? CVE-2026-60004 references gitea 1.27.1
|
||||||||||||||||||||
| 10 | |||||||||||||||||||||
|
Klox
lemmy.world
Klox@lemmy.world Joined: 2023-06-16 |
OIDC and zero signups for everything. I've been very happy with Pomerium (ZTNA) + Keycloak for all my public facing apps, although the free version doesn't have any client signals which I was hoping for when I starteed. My project this week is integrating the app logging I have into Crowdsec and start having Crowdsec do more analysis. |
||||||||||||||||||||
| 4 | |||||||||||||||||||||
Wyrehead
mungapple.org
wyrehead@mungapple.orgJoined: 2026-08-19 |
Thanks for this! I didn't understand any of it, but I hope to eventually. |
||||||||||||||||||||
| 9 | |||||||||||||||||||||
moldy_rice
piefed.keyboardvagabond.com
moldy_rice@piefed.keyboardvagabond.comJoined: 2026-08-07 |
Have you thought about log aggregation with something like Prometheus/graphana or ELK? Lol thinking about cpu notifications for myself. I get notified when the fans ramp up on my server.
Also feed it to wazuh |
||||||||||||||||||||
| 3 | |||||||||||||||||||||
|
lemmyvore
feddit.nl
lemmyvore@feddit.nl Joined: 2023-06-15 |
I don't think I will ever be convinced to leave anything on my home network open to the internet no matter how convenient it is.
It's fairly safe as long as you add a strong enough form of access control. For example if you put it behind a VPN, or a SSH tunnel, or require mTLS. Even a key in a custom HTTP header or Basic HTTP auth can be good enough if the key is strong enough. You can further decrease the probability of drive-by bots reaching a publicly exposed service by merely scanning IPs and ports if you use a reverse proxy and hide your service FQDNs and IP. You can do this by using TLS certs on wildcard domains rather than explicit domains, using explicit CNAMEs for the service subdomains rather than a wildcard domain, and keeping the A/AAAA records on an obfuscated subdomain rather than the base domain. If the bots can't figure out a FQDN they're not getting past the reverse proxy even if they find the IP and port. This is obfuscation not real security but it cuts down tremendously on bot hits. |
||||||||||||||||||||
| 36 | |||||||||||||||||||||
carrylex
lemmy.world
carrylex@lemmy.worldJoined: 2024-04-05 |
Not updating stuff + Public sign ups enabled (did you even read the setup guide?) + Unrestricted internet access Yeah I wonder what could possibly go wrong... But great writeup |
||||||||||||||||||||
| 54 | |||||||||||||||||||||
|
hietsu
sopuli.xyz
hietsu@sopuli.xyz Joined: 2023-07-01 |
It's fairly safe as long as you add a strong enough form of access control. For example if you put it behind a VPN, or a SSH tunnel, or require mTLS. Even a key in a custom HTTP header or Basic HTTP auth can be good enough if the key is strong enough. You can further decrease the probability of drive-by bots reaching a publicly exposed service by merely scanning IPs and ports if you use a rever...
I have knockd listening on one very high port number, and only after accessing that reverse proxy whitelists the source ip. Sure some scanners might do a full port scan and try http only after that, but FQDN is required too. Plus I have geo ip list blocking all but my country. Oh and Crowdsec. So far so good.. |
||||||||||||||||||||
| 9 | |||||||||||||||||||||
|
surewhynotlem
lemmy.world
surewhynotlem@lemmy.world Joined: 2023-06-13 |
Not updating stuff + Public sign ups enabled (did you even read the setup guide?) + Unrestricted internet access Yeah I wonder what could possibly go wrong... But great writeup
At least he got to learn from it. Never waste a good disaster. |
||||||||||||||||||||
| 52 | |||||||||||||||||||||
|
Onomatopoeia
lemmy.cafe
Onomatopoeia@lemmy.cafe Joined: 2025-01-02 |
Glad I am not selfhosting or doing homelab, It is so out of my legau.
I have a lot of stuff self-hosted. Just no outside access. Well, that's not quite true, I do have a Tailscale VPN for remote management, but only certain machines are allowed to join, joins require my authorization, and access to the account is via two-factor. The big thing with external access is to never permit it directly through your local connection. Do it though a Virtual Private Server (VPS) - let it get hit with access attempts. And then only allow specific traffic from the VPS to a specific service in your network using a VPN of some sort. |
||||||||||||||||||||
| 0 | |||||||||||||||||||||
|
notfromhere
lemmy.ml
notfromhere@lemmy.ml Joined: 2023-06-04 |
I'm thinking of adding Falco to my homelab.
Thanks for posting that. I hadn’t heard of falco before. Cncf graduated, open source, cloud native. I’m going to give this a shot. |
||||||||||||||||||||
| 4 | |||||||||||||||||||||
|
tofu
lemmy.nocturnal.garden
tofu@lemmy.nocturnal.garden Joined: 2025-03-04 |
Good write up! |
||||||||||||||||||||
| 7 | |||||||||||||||||||||
gedfromgont
piefed.ca
gedfromgont@piefed.caJoined: 2026-05-12 |
I don't think I will ever be convinced to leave anything on my home network open to the internet no matter how convenient it is.
Yeah same. I am really bad at keeping stuff updated so I rather keep it local too. |
||||||||||||||||||||
| 3 | |||||||||||||||||||||
|
ExperimentalGuy
programming.dev
ExperimentalGuy@programming.dev Joined: 2023-07-25 |
Good write up! Since you're using Komodo already, are your compose stacks in git? Because if they are, check the renovate bot. It will read your files with their pinned image tags, check upstream for newer tags, and creates MRs (can also be set to auto merge) to update. Can be configured per stack.
What's komodo? I'm thinking of starting a home server so learning how to harden/automate updates (which is what it sounds like you're saying) is what I want to learn. |
||||||||||||||||||||
| 3 | |||||||||||||||||||||
glizzyguzzler
piefed.blahaj.zone
glizzyguzzler@piefed.blahaj.zoneJoined: 2025-06-20 |
The real takeaway is to run your containers ALL as read-only. There’s no way to run executables like this as read-only. They’d download to /tmp but not have executable access and womp womp. Many things aren’t read-only friendly, but so far I’ve found all containers can be beat into read-only mode! (Heimdall is one of the worst, shout out to it) |
||||||||||||||||||||
| 7 | |||||||||||||||||||||
|
IanTwenty
piefed.social
IanTwenty@piefed.social Joined: 2025-10-17 |
Firewalling containers' outbound access seems to be rare but another powerful layer of protection |
||||||||||||||||||||
| 13 | |||||||||||||||||||||
|
wewbull
feddit.uk
wewbull@feddit.uk Joined: 2023-06-22 |
It's fairly safe as long as you add a strong enough form of access control. For example if you put it behind a VPN, or a SSH tunnel, or require mTLS. Even a key in a custom HTTP header or Basic HTTP auth can be good enough if the key is strong enough. You can further decrease the probability of drive-by bots reaching a publicly exposed service by merely scanning IPs and ports if you use a rever...
I wouldn't count "behind a VPN" as "open to the internet". |
||||||||||||||||||||
| 25 | |||||||||||||||||||||
|
Decronym
Bot
Decronym@lemmy.decronym.xyz Joined: 2026-01-05 |
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
8 acronyms in this thread; the most compressed thread commented on today has 13 acronyms. [Thread #97 for this comm, first seen 7th Sep 2026, 20:40] |
||||||||||||||||||||
| 2 | |||||||||||||||||||||
|
leds
feddit.dk
leds@feddit.dk Joined: 2023-06-01 |
I don't think I will ever be convinced to leave anything on my home network open to the internet no matter how convenient it is.
I gave up , don't have the time to maintain it anymore. Changed DNS to make my domain point to local lan IP so everything still works but only at home. |
||||||||||||||||||||
| 9 | |||||||||||||||||||||
|
frongt
lemmy.zip
frongt@lemmy.zip Joined: 2025-07-31 |
I wouldn't count "behind a VPN" as "open to the internet".
The VPN service is open to the Internet. But it's only one service, versus however many things you are running behind it. |
||||||||||||||||||||
| 4 | |||||||||||||||||||||
|
chaospatterns
lemmy.world
chaospatterns@lemmy.world Joined: 2023-07-09 |
Firewalling containers' outbound access seems to be rare but another powerful layer of protection
Yeah it's useful and I've been using it for my home lab, but too many of my containers want outbound connections to the Internet. Like Forgejo needs :443 to be able to mirror or remote push repositories, so either I have to identify and allow list github.com, gitlab.com, etc. or end up allowing 0.0.0.0/0:443 which is not very strong protection. I'd love for some kind of CNI or network plugin that filtered based on domain name. |
||||||||||||||||||||
| 4 | |||||||||||||||||||||
|
antianarchist
sopuli.xyz
antianarchist@sopuli.xyz Joined: 2026-08-08 |
I hate providers not offering me a latest tag. Is there any valid reason not to do that? Even worse, super stupid version tags such as MinIO is using: |
||||||||||||||||||||
| 9 | |||||||||||||||||||||
|
UnfairUtan
lemmy.world
UnfairUtan@lemmy.world Joined: 2023-07-07 |
I don't think I will ever be convinced to leave anything on my home network open to the internet no matter how convenient it is.
Meanwhile my entire "homelab" except for HA is hosted on a VPS |
||||||||||||||||||||
| 5 | |||||||||||||||||||||
Ultragramps
lemmy.blahaj.zone
Ultragramps@lemmy.blahaj.zoneJoined: 2023-06-23 |
At least he got to learn from it. Never waste a good disaster.
And sharing it with peeps who haven’t encountered these vulnerabilities yet. We are all trying to improve and reading this is better than doomscrolling. |
||||||||||||||||||||
| 21 | |||||||||||||||||||||
|
moonshine69
lemmy.nz
moonshine69@lemmy.nz Joined: 2026-07-08 |
Yeah it's useful and I've been using it for my home lab, but too many of my containers want outbound connections to the Internet. Like Forgejo needs :443 to be able to mirror or remote push repositories, so either I have to identify and allow list github.com, gitlab.com, etc. or end up allowing 0.0.0.0/0:443 which is not very strong protection. I'd love for some kind of CNI or network plugin th...
Envoy is what i use, or squid is an option |
||||||||||||||||||||
| 2 | |||||||||||||||||||||
|
snrkl
lemmus.org
snrkl@lemmus.org Joined: 2024-06-16 |
I'd suggest hobbling those log links that point to active payloads etc - usually best practice when writing this stiff up, so someone doesn't accidentally click on them... |
||||||||||||||||||||
| 3 | |||||||||||||||||||||
|
ShortN0te
lemmy.ml
ShortN0te@lemmy.ml Joined: 2023-06-09 |
I hate providers not offering me a latest tag. Is there any valid reason not to do that? Even worse, super stupid version tags such as MinIO is using: RELEASE.2025-09-07T16-13-09Z-cpuv1 (I wish I made that up)
My guess, auto updates for major versions is not good practice. Installations potentially corrupt and users come screaming to the project maintainers instead of searching the blame by themselfe. forgejo defined the lifecycle for every version so just add a calendar entry for when the supports runs out and then update the 3 characters in the docker compose file. |
||||||||||||||||||||
| 5 | |||||||||||||||||||||
Wispy2891
lemmy.world
Wispy2891@lemmy.worldJoined: 2023-07-13 |
And detected mostly because the automated script kiddie set up a cryptominer to generate $0.0001 There are way more valuable and destructive ways once you have RCE like:
|
||||||||||||||||||||
| 10 | |||||||||||||||||||||
|
chunkystyles
sopuli.xyz
chunkystyles@sopuli.xyz Joined: 2023-06-29 |
I just recently went through a much more benign, but scary nonetheless version of this. I realized that my Ansible directory, that I had made public on GitHub to share as an example to some folks, had secrets committed and pushed. It was the direct URL and credentials of an app I developed to store non-PII customer data. Now, it wouldn't be the end of the world if someone noticed this and scraped the data, but it wouldn't be good, either. Luckily, I have Caddy access logs, and it appears no one ever accessed it. So I pulled the secrets out of the Ansible directory and made the repo private, I rotated the credentials, and installed Crowdsec to monitor Caddy access logs and ban bad actors. I only noticed the secrets because I had just setup Authelia as an OAuth2 provider for my homelab, and I was adding it to my backup scripts. |
||||||||||||||||||||
| 10 | |||||||||||||||||||||
|
village604
adultswim.fan
village604@adultswim.fan Joined: 2025-09-27 |
I gave up , don't have the time to maintain it anymore. Changed DNS to make my domain point to local lan IP so everything still works but only at home.
I wonder if the person who downvoted you thought you pointed your public DNS record to a 192.168 network, instead of making a change to your local DNS server like I'm assuming you did. |
||||||||||||||||||||
| 3 | |||||||||||||||||||||
|
antianarchist
sopuli.xyz
antianarchist@sopuli.xyz Joined: 2026-08-08 |
My guess, auto updates for major versions is not good practice. Installations potentially corrupt and users come screaming to the project maintainers instead of searching the blame by themselfe. forgejo defined the lifecycle for every version so just add a calendar entry for when the supports runs out and then update the 3 characters in the docker compose file.
I can get that and I also prefer sticking to major versions. However, I am chaotic and easily have 50 different docker images, checking all the release cycle of all of those gets exhausting. I believe I need to start generating notifications if a tag has not received an update for more than 30d. |
||||||||||||||||||||
| 5 | |||||||||||||||||||||
|
sicco
feddit.nl
sicco@feddit.nl Joined: 2025-02-01 |
Have you thought about log aggregation with something like Prometheus/graphana or ELK? Lol thinking about cpu notifications for myself. I get notified when the fans ramp up on my server.
I'm a big fan of https://beszel.dev/. Easy to set up server monitoring and notification tool. |
||||||||||||||||||||
| 1 | |||||||||||||||||||||
|
jet
hackertalks.com
jet@hackertalks.com Joined: 2023-07-06 |
I wonder if the person who downvoted you thought you pointed your public DNS record to a 192.168 network, instead of making a change to your local DNS server like I'm assuming you did.
If you want https it's gotta be a external DNS record anyway, might as well point to internal ips Depending on how paranoid your setup is not everything will use the DHCP provided DNS servers |
||||||||||||||||||||
| 2 | |||||||||||||||||||||
|
PieMePlenty
lemmy.world
PieMePlenty@lemmy.world Joined: 2023-10-01 |
My server got hacked once and was mining crypto! I noticed it when I heard the fans were at 100% when walking passed the room lol. Turns out, qbittorrent-nox used UPNP for its web admin endpoint enabled by default and qbittorrent can do many things like run custom scripts. My mistake was not changing its login credentials. Exposed my full system. Live and learn. |
||||||||||||||||||||
| 9 | |||||||||||||||||||||
KubeRoot
discuss.tchncs.de
kuberoot@discuss.tchncs.deJoined: 2023-06-25 |
If you want https it's gotta be a external DNS record anyway, might as well point to internal ips Depending on how paranoid your setup is not everything will use the DHCP provided DNS servers
Not sure what you mean by that, but off the top of my head, you can get certificates via challenges that prove DNS control (rather than checking if the DNS points to your server), and you can get wildcard certificates so you don't even have to expose the existence of subdomains. And that's ignoring the option of using your own CA, which only really works with your own devices, but for local access might be viable. |
||||||||||||||||||||
| 7 | |||||||||||||||||||||
|
village604
adultswim.fan
village604@adultswim.fan Joined: 2025-09-27 |
If you want https it's gotta be a external DNS record anyway, might as well point to internal ips Depending on how paranoid your setup is not everything will use the DHCP provided DNS servers
No it doesn't. I run https with my own CA server. |
||||||||||||||||||||
| 4 | |||||||||||||||||||||
irmadlad
lemmy.world
irmadlad@lemmy.worldJoined: 2025-03-24 |
About the only recent even I've had was when I was sitting at my desk reading an article. I noticed the mouse slightly move, but I hand no hand on the mouse. I sit there watching it, not manually moving the mouse or typing on the keyboard. It really freaked me out. Turns out, my old desk pad had a slight curl towards the edge the mouse was at, and the curl would make the mouse sense movement ever so slightly. I deployed a new desk pad, and things are back to normal. Whew! |
||||||||||||||||||||
| 8 | |||||||||||||||||||||
|
tofu
lemmy.nocturnal.garden
tofu@lemmy.nocturnal.garden Joined: 2025-03-04 |
What's komodo? I'm thinking of starting a home server so learning how to harden/automate updates (which is what it sounds like you're saying) is what I want to learn.
It's a tool to manage docker stacks, e.g. by reading them from git repos. You can configure your git forge in a way to ping Komodo when something in a repo changed, Komodo then deploys the new version. You'd need your own git forge, e.g. forgejo. This is a good guide: You can start without Renovate to get going, but you'll want it sooner or later to automate checks for updates. |
||||||||||||||||||||
| 1 | |||||||||||||||||||||
|
BorgDrone
feddit.nl
BorgDrone@feddit.nl Joined: 2025-06-10 |
My server got hacked once and was mining crypto! I noticed it when I heard the fans were at 100% when walking passed the room lol. Turns out, qbittorrent-nox used UPNP for its web admin endpoint enabled by default and qbittorrent can do many things like run custom scripts. My mistake was not changing its login credentials. Exposed my full system. Live and learn.
UPNP is a security nightmare, better to never enable it at all or if you must only for those networks where you need it. |
||||||||||||||||||||
| 7 | |||||||||||||||||||||
Appoxo
lemmy.dbzer0.com
Appoxo@lemmy.dbzer0.comJoined: 2023-07-01 |
I just recently went through a much more benign, but scary nonetheless version of this. I realized that my Ansible directory, that I had made public on GitHub to share as an example to some folks, had secrets committed and pushed. It was the direct URL and credentials of an app I developed to store non-PII customer data. Now, it wouldn't be the end of the world if someone noticed this and scrap...
Ayy, just went through the same troubles with Authelia earlier this week. |
||||||||||||||||||||
| 3 | |||||||||||||||||||||
|
MonkeMischief
lemmy.today
MonkeMischief@lemmy.today Joined: 2023-10-24 |
Yiiiiiikes. This is why I'm gonna be stuck on tailscale or another VPN only access for quite a while. I know it's not perfect, but exposing ports on today's Internet is scary. I know I don't have the mental overhead to secure literally everything, and have a solid contingency for when some botnet armed with a zero-day inevitably breaks it. Really glad this person wrote this write up about how that happens and what it looks like though. It's REALLY interesting and I learned a lot! |
||||||||||||||||||||
| 4 | |||||||||||||||||||||
|
MonkeMischief
lemmy.today
MonkeMischief@lemmy.today Joined: 2023-10-24 |
And sharing it with peeps who haven’t encountered these vulnerabilities yet. We are all trying to improve and reading this is better than doomscrolling.
Also let's be honest, it was entertaining. Adventure is when trouble happened to somebody else! :p |
||||||||||||||||||||
| 3 | |||||||||||||||||||||
| Post Reply |
Page 1 of 2
Goto page
1, 2
Next
Last »
Back to top |