4 privacy settings that homelabbers almost always get wrong


Your homelab is the perfect place to learn about both the good and bad sides of networking and server infrastructure. On the one hand, a homelab is an extremely useful tool for any tinkerer. On the other hand, it’s a security nightmare if not set up properly. Here are four privacy settings that most homelabbers get wrong, and how to fix them.

Exposing admin dashboards to the internet

Proxmox was never meant to be managed outside your LAN

The Sonarr admin dashboard login page.

There are a lot of admin dashboards in any homelab, and it never fails that something breaks when you’re not home. While Tailscale and VPNs allow you to utilize your network from anywhere, the easiest solution is to simply use a reverse proxy and open that admin dashboard to the network with a domain name, right? You’ve got password authentication set up, so isn’t it secure? Most of the time, it’s not as secure as you think.

Having an admin dashboard open to the internet means that bots can look for that specific type of admin dash and try different brute force methods to get into it. This actually happened to me recently, with one of my admin dashes that I had behind a reverse proxy getting compromised and a crypto bot being deployed on my server without me knowing.

Lots of Docker containers (or services in general) can have exploits that make it possible for brute force attempts to break through the authentication stack and gain access to the app. So, if you open that admin dashboard to the internet, you’re asking for trouble.

Close-up of a NAS server with labeled markers showing do’s and don’ts for homelab setup.


5 uncomfortable truths about homelabbing you need to hear

Maybe that Netflix subscription would have been cheaper…

Leaving default credentials on self-hosted apps

Default passwords are one of the easiest ways to get compromised

Even if you don’t open your admin dashboards up to the public, you should at least change the default login credentials for your self-hosted apps and networking gear. The fact of the matter is, your homelab is susceptible to being infiltrated whether you open it up to the wider internet or not.

Hackers have many ways to gain access to your local network, be it through smart home devices with shoddy security, 3D printers, or even normal paper printers, your network isn’t as secure as you think it is. If someone is able to gain access to your local network in any way, then they’re able to access your self-hosted services, too.

If your setup is anything like mine, then you likely use standard ports for various services—the same ports that every other homelabber also uses. This makes it easy for hackers to gain access to your self-hosted stack, or even your router admin pages, if you use default login credentials.

Opening ports to the public when they should be internal only

Not every service needs to be reachable from the internet

The rule of thumb should be to open as few network ports on your router as possible, as an open network port is an invitation for hackers to enter your network. Now, I have several ports open on my network for various reasons, but I also know the risks of opening those ports.

The problem comes when you open ports on your network that don’t actually need to be opened. For example, if you want to run a Minecraft server at your house, the you need to open port 25565 on your network. However, if you’re only running that server to play locally, then there’s no reason to open that port up to the world.

The same goes with SSH. You should rarely, if ever, port forward port 22 on your network. HTTP/S is also a risky one, though it’s something that many homelabbers do, with opening port 80 and 443 to the web.

Really, if you don’t have an explicitly good reason to forward a port, then simply don’t forward the port. It’s better to have all ports closed on your network.

Keeping API tokens or passwords stored as plain text

Plain text secrets make breaches much worse

A hand holding a password field, with multiple passwords in the background and padlock and key icons around it. Credit: Lucas Gouveia/How-To Geek | valiantsin suprunovich/Shutterstock

You’re going to use a lot of API tokens in your homelab, so you’re going to want to keep them written down somewhere. Just please don’t write your passwords or API keys down in plain text. I made the mistake early on in my homelab journey of putting API keys in Obsidian, which stores notes as plain text Markdown files.

While this is convenient, it is anything but secure. In fact, vibe coders are constantly leaking their API keys on GitHub because they’re stored in plain text in files that are committed to their repo and pushed publicly. Don’t do that in your homelab.

Instead, use a password manager or another form of encrypted storage, so even if the document leaks, the contents aren’t available for others to use and abuse. Whether the API key belongs to your OpenAI account for ChatGPT access or it’s the API key for Sonarr, it needs to stay nice and safe where nobody else can access it.

KAMRUI Hyper H1 mini PC.

Brand

KAMRUI

CPU

AMD Ryzen 7 7735HS

Graphics

AMD Radeon 680M

Memory

16GB LPDDR5

Storage

512GB NVMe

The KAMRUI Hyper H1 mini PC is perfect for setups that need a high-performance desktop without spending an arm and a leg. It boasts the AMD Ryzen 7 7735HS 8-core 16-thread processor and 16GB of LPDDR5 RAM (which is not user-upgradable). The pre-installed 512GB NVMe drive can be swapped out for a larger one though, and there’s a second NVMe slot for extra storage if needed.



Your homelab is only as secure as you make it

While I love homelabbing, one of the biggest problems with running a homelab is being in charge of its security. If you know what you’re doing, it’s not that big of a deal. However, newcomers definitely can (and do) make mistakes when it comes to how secure a homelab is.

At the end of the day, if you have questions on how secure your homelab is or isn’t, err on the side of opening up the fewest ports possible and changing default passwords. If you simply do those two things, your homelab should be fairly secure, at least until you learn how to set up VPNs, stacks like Authentik, and harden your services.



Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


Do you ever walk past a person on the streets exhibiting mental health issues and wonder what happened to their family? I have a brother—or at least, I used to. I worry about where he is and hope he is safe. He hasn’t taken my call since 2014.

James and his brother as young children playing together before his brother became sick. James is on the right and his brother is on the left.

James and his brother as young children playing together before his brother became sick. James is on the right and his brother is on the left.

When I was 13, I had a very bad day. I was in the back of the car, and what I remember most was the world-crushing sound violently panging off every surface: he was pounding his fists into the steering wheel, and I worried it would break apart. He was screaming at me and my mother, and I remember the web of saliva and tears hanging over his mouth. His eyes were red, and I knew this day would change everything between us. My brother was sick.

Nearly 20 years later, I still have trouble thinking about him. By the time we realized he was mentally ill, he was no longer a minor. The police brought him to a facility for the standard 72-hour hold, where he was diagnosed with paranoid delusional schizophrenia. Concluding he was not a danger to himself or others, they released him.

There was only one problem: at 18, my brother told the facility he was not related to us and that we were imposters. When they let him out, he refused to come home.

My parents sought help and even arranged for medication, but he didn’t take it. Before long, he disappeared.

My brother’s decline and disappearance had nothing to do with the common narratives about drug use or criminal behavior. He was sick. By the time my family discovered his condition, he was already 18 and legally independent from our custody.

The last time he let me visit, I asked about his bed. I remember seeing his dirty mattress on the floor beside broken glass and garbage. I also asked about the laptop my parents had gifted him just a year earlier. He needed the money, he said—and he had maxed out my parents’ credit card.

In secret from my parents, I gave him all the cash I had saved. I just wanted him to be alright.

My parents and I tried texting and calling him; there was no response except the occasional text every few weeks. But weeks turned into months.

Before long, I was graduating from high school. I begged him to come. When I looked in the bleachers, he was nowhere to be seen. I couldn’t help but wonder what I had done wrong.

The last time I heard from him was over the phone in 2014. I tried to tell him about our parents and how much we all missed him. I asked him to be my brother again, but he cut me off, saying he was never my brother. After a pause, he admitted we could be friends. Making the toughest call of my life, I told him he was my brother—and if he ever remembers that, I’ll be there, ready for him to come back.

I’m now 32 years old. I often wonder how different our lives would have been if he had been diagnosed as a minor and received appropriate care. The laws in place do not help families in my situation.

My brother has no social media, and we suspect he traded his phone several years ago. My family has hired private investigators over the years, who have also worked with local police to try to track him down.

One private investigator’s report indicated an artist befriended my brother many years ago. When my mother tried contacting the artist, they said whatever happened between them was best left in the past and declined to respond. My mom had wanted to wish my brother a happy 30th birthday.

My brother grew up in a safe, middle-class home with two parents. He had no history of drug use or criminal record. He loved collecting vintage basketball cards, eating mint chocolate chip ice cream, and listening to Motown music. To my parents, there was no smoking gun indicating he needed help before it was too late.

The next time you think about a person screaming outside on the street, picture their families. We need policies and services that allow families to locate and support their loved ones living with mental illness, and stronger protections to ensure that individuals leaving facilities can transition into stable care. Current laws, including age-based consent rules, the limits of 72-hour holds, and the lack of step-down or supported housing options, leave too many families without resources when a serious diagnosis occurs.

Governments and lawmakers need to do better for people like my brother. As someone who thinks about him every day, I can tell you the burden is too heavy to carry alone.

James Finney-Conlon is a concerned brother and mental health advocate. He can be reached at [email protected].



Source link