Home Lab Setup in India: From Zero to Self-Hosted in One Weekend

Anurag Sinha Avatar
Home Lab Setup in India: From Zero to Self-Hosted in One Weekend

Everyone says you need a proper server to self-host anything. I stopped believing that years ago. My whole home lab sits on a bookshelf in my Patna flat: one refurbished mini PC, a Raspberry Pi, and a power strip that runs off the inverter line. Together, that little stack blocks ads on every device we own, streams my movie collection to the TV, quietly backs up the family photos, and gives me somewhere to break things where nobody gets hurt. Total spend so far? Less than a mid-range phone.

Give it one free weekend and you can go from literally nothing to a version of this that actually earns its keep. What follows is the plan I hand friends when they ask me how to start. Which box to buy, or what to rescue from a drawer. How to deal with our power cuts and the weird stuff ISPs do here. Plus which three services to set up first so the lab pulls its weight from day one, not someday.

what a home lab really is, and why it’s worth the bother

Thing is, a home lab is just one or two computers in your house running services around the clock. That’s it. No mystery. Ownership is what it really comes down to. Instead of paying Google to hold your photos, Netflix to stream films, and some VPN outfit to sell you privacy, you run open-source versions of all that on hardware you actually control. Your data never leaves the house. Monthly bills drop. Hard to argue with either of those.

And then there’s the learning side, which is honestly the bit that hooked me. Why do I keep saying that? Because every skill I lean on at work now, Linux admin, Docker, networking, I first broke and patched up on a ₹3,000 second-hand box at home. Honestly, it might be the cheapest IT education you can get in India. Unlike a course, it doesn’t stop teaching you after a few months. Keeps going for years.

picking your first machine

Please don’t buy a server. Real rack servers are loud, they run hot, and they’ll punish your electricity bill without mercy. For a first lab you want the opposite. Small, silent, easy on power. Here are the four options I’d actually suggest in 2026, with the kind of street prices you’ll really see, not wishful ones.

OptionApprox. costPower drawBest for
Old laptop you already own₹010–20 WFirst lab, zero risk
Raspberry Pi 5 (8 GB) kitaround ₹10,000–11,5005–10 WLow power, GPIO projects
Refurb mini PC (ThinkCentre Tiny, i5)around ₹9,000–14,00015–30 WSerious multi-service lab
Old desktop tower₹0–5,00060–120 WAvoid unless free and needed

If you’re genuinely starting out, grab an old laptop if there’s one lying around the house. Its built-in battery doubles as a free UPS, and that matters more here than just about anywhere. There’s a full step-by-step in my old laptop home server guide. Want to buy new instead? The Raspberry Pi 5 from robu.in or ThingBits is a lovely little machine, and I get into what it can realistically handle in my Raspberry Pi 5 projects roundup. Once you’ve outgrown that first box, refurbished Lenovo ThinkCentre and Dell OptiPlex minis off OLX or the refurb portals are the sweet spot. Most people end up on that path.

power and internet: the two things India forces you to plan around

power cuts and your inverter

A server that hard-reboots five times a day through summer load-shedding will corrupt its storage. Maybe not today, but eventually the filesystem gets wrecked. You’ve got three defences here. First one: plug both the lab and your router into the inverter line if you have one. Between them, a mini PC and a router pull maybe 40 W, which a typical 900 VA home inverter barely registers. Second, a small line-interactive UPS, roughly ₹2,500–3,500 for a 600 VA unit, covers that one-second gap before the inverter wakes up. Third, an old laptop just dodges the whole mess because the battery is already there. Whatever you pick, switch on “restore on AC power” in the BIOS so the machine reboots itself once the lights come back. This one trips up a lot of beginners. Don’t skip it.

cgnat: why port forwarding quietly fails on jio and airtel

Now this is the part that catches nearly every Indian beginner off guard. JioFiber, and a lot of Airtel Xstream plans too, stick you behind Carrier-Grade NAT. So your router’s “public” IP? It isn’t really yours. That address is shared by hundreds of other customers, which means forwarding port 443 on your router does absolutely nothing. Traffic never finds its way to you. Airtel will sometimes shift you onto a real public IP if you ask support nicely, or you pay for a static IP, somewhere around ₹2,000–3,500 a year depending on your circle. Jio, from what I’ve seen, mostly won’t. But here’s the good part: in 2026 you don’t need a public IP anyway. Tailscale and the other WireGuard-based overlay networks punch straight through CGNAT for free. More on that below.

saturday: install the OS and get SSH talking

Day one is all foundations. Download Ubuntu Server 24.04 LTS, the long-term support release, which is the one you want and not the shiniest newest version. Flash it to a pen drive with Rufus or Balena Etcher, then install it on your machine. During setup, tick the OpenSSH server box and leave everything else alone. When it boots up, grab its IP from your router’s admin page and log in from your main computer.

ssh anurag@192.168.29.50

# First commands on any fresh server
sudo apt update && sudo apt upgrade -y
sudo apt install -y curl htop

# Give the machine a fixed IP via your router's DHCP reservation,
# then install Docker, which will run everything else
curl -fsSL https://get.docker.com | sudo sh
sudo usermod -aG docker $USER

Two things to remember. Reserve the IP in your router, look for “DHCP binding” or “address reservation” buried in the Jio or Airtel router UI, so the server’s address never wanders. And log out, then back in, after that usermod command so Docker runs without sudo. That’s honestly the whole of Saturday. Rest of the day is yours to do nothing with.

sunday: your first three services

Resist the itch to install fifteen things at once. Which three should you pick? Three that each fix a real problem in the house, because those are the ones that survive the week your enthusiasm dips. Here’s what I’d go with.

  1. Pi-hole for ad blocking across the whole network. Everyone in the family feels it right away, which buys you serious goodwill for whatever you want to try next. I cover all of it in my Pi-hole setup guide.
  2. Jellyfin as your own private Netflix for the media you already have sitting around.
  3. Syncthing to back your phone photos up to the server on their own, so you can finally drop paid Google One storage.

All three run as Docker containers. Make a folder, drop a compose file in, and bring the stack up.

mkdir -p ~/lab && cd ~/lab
nano docker-compose.yml   # paste the services block
docker compose up -d
docker ps                 # confirm all three are running

Point your router’s DNS at the Pi-hole, open Jellyfin on port 8096, install the Syncthing app on your phone, and pair it over Wi-Fi. By Sunday evening every device in the house is ad-free, and your photos start backing up the second you walk through the door. Not bad for a weekend.

reaching your lab without port forwarding

Want to get to your lab from the office, or while you’re travelling? Install Tailscale on the server and on your phone. It builds an encrypted private network between your devices that works straight through Jio’s CGNAT, no router fiddling at all. The free tier handles up to 100 devices, which is way more than any home lab will ever need. One command on the server (curl -fsSL https://tailscale.com/install.sh | sh, then sudo tailscale up) and your lab follows you wherever you go. Word of advice though: never expose services straight to the internet until you’ve read up properly on hardening. Inside Tailscale, nothing’s publicly reachable to begin with, so you’ve got a bit of a safety net.

mistakes I keep watching beginners make

  • Buying hardware before you have a use for it. That drawer laptop tells you whether you even like this hobby before you go and drop ₹15,000.
  • Running the whole thing over Wi-Fi. Servers want ethernet. Run a flat CAT6 cable along the skirting for ₹300 and you quietly remove an entire genre of mystery problems.
  • Skipping backups. Your SD card or that old hard disk is going to die. Never a question of if. Decide today what data actually matters, and make sure it gets copied somewhere second.
  • Ignoring the electricity maths. A 100 W desktop running 24×7 costs you roughly ₹500–600 a month at ₹7 per unit. Switch to a 15 W mini PC? About ₹75. Over a year, that gap pays for nicer hardware.

FAQ

how much does a starter home lab cost in India?

Anywhere from ₹0, if you’ve got an old laptop and a router already, up to about ₹12,000 for a fresh Raspberry Pi 5 kit or a refurbished mini PC. Electricity then lands at ₹50–150 a month once your hardware’s efficient. Stack that against ₹650 a month for Google One 2 TB plus a streaming sub, and the lab basically pays for itself inside a year.

will a home lab work with JioFiber’s CGNAT?

Yes, totally. Everything inside your house carries on as normal, because CGNAT only gets in the way of inbound connections coming from the internet. For remote access, Tailscale or ZeroTier tunnels through CGNAT, no public IP needed and no cooperation from Jio required either.

do I need to know Linux before I start?

Nope. What you do need is the willingness to type commands you don’t yet understand and to search your error messages. Honestly, that’s how all of us learned. Ubuntu Server plus Docker is pretty forgiving, and the worst thing that happens is a reinstall, which costs you an hour of your time. No money lost.

what should I add after that first weekend?

Once those three services start feeling boring, the natural next move is virtualisation, so one machine can pretend to be several. My Proxmox beginner guide walks through exactly that, and it’s the upgrade path I took myself.


So, back to where we started. Everyone says you need a proper server. You don’t. One weekend, one small machine, three services that genuinely earn their place, and you’ve got a real home lab instead of another someday project. Begin with whatever’s already in the house, and let the lab justify every rupee you spend after that.

Anurag Sinha Avatar

Join the discussion

Your email address will not be published. Required fields are marked *