Your homelab does not have to stay home. Whether you are heading to a conference, working from a hotel, or just want your own trusted network wherever you land, a portable homelab is completely doable with today's compact hardware. The trick is being ruthless about size and power draw while keeping the setup genuinely useful.

This post walks through the hardware categories to consider, how to wire them together, and the configuration basics that make the whole thing work away from your home network.

💡 Why a Portable Homelab?

Hotel and conference WiFi is untrusted, slow, and often blocks the ports you actually need. Bringing your own router and a small compute node means you get a consistent, known environment no matter where you are. You can run your own DNS, VPN, and lightweight services exactly as you do at home.

It also doubles as a great way to demo projects, test network configs, or keep development containers running on hardware you control rather than a cloud instance you are paying by the hour for.

🧰 Prerequisites

  • A carry-on sized bag or hard case (check your airline's size limits before you shop)
  • A travel router that supports OpenWrt or similar open firmware
  • One or two single-board computers or mini PCs for compute
  • A small unmanaged or managed gigabit switch (optional but handy)
  • A USB-C GaN power bank or multi-port charger that can handle the load
  • Short patch cables, ideally 0.3 m or 0.5 m flat cables to keep things tidy

🖥️ Picking Your Hardware

The compute tier is where most of the decisions happen. Single-board computers like the Raspberry Pi 5 are a proven choice: they are small, run full Linux, and pull under 10 W under typical load. Mini PCs in the Intel N-series range are another strong option if you need x86 compatibility or more RAM, though they are bulkier and draw more power.

For the router, look for something that runs OpenWrt and has both a WAN port (or WiFi-as-WAN support) and at least one LAN port. Many popular travel routers in the GL.iNet lineup are well-supported by OpenWrt. Check the OpenWrt Table of Hardware at openwrt.org/toh/start to confirm support for any specific model before buying.

If you want to add a small switch so multiple devices share one router LAN port, a 5-port unmanaged gigabit switch will handle it. Units from brands like Netgear and TP-Link have very compact models; verify the exact dimensions against your case before ordering.

🔌 Powering Everything

Power is the hardest constraint. Add up the rated wattage for every device and make sure your power source can handle the peak, not just the idle. A 65 W or 100 W GaN multi-port charger covers most single-SBC setups. For a router plus two SBCs, budget around 40 to 60 W to be safe.

Check airline regulations before flying with a large power bank. Most airlines follow IATA guidelines that cap lithium batteries at 100 Wh for carry-on without special approval, and 160 Wh with airline approval. Since 27 March 2026, ICAO rules also limit passengers to two power banks and ban recharging them during the flight. Confirm the exact limits with your carrier before you pack. A multi-port wall charger with a short power strip is often a simpler and fully unrestricted option for hotel use.

🌐 Network Topology

The simplest layout that works well in a hotel or conference environment:

  • Travel router WAN connects to hotel WiFi (WiFi-as-WAN) or a wired port in your room
  • Router LAN feeds a small switch
  • All compute nodes plug into the switch
  • Your laptop connects to the switch or the router's WiFi

This gives every device a private subnet you control. You can assign static IPs via DHCP reservations on the router so your nodes are always reachable at the same address regardless of which hotel you are in.

⚙️ Core Configuration

Step 1: Flash your router with OpenWrt if it is not already running it. Follow the official installation guide for your specific model at openwrt.org.

Step 2: Set a static LAN subnet that does not conflict with common hotel ranges. Hotels often use 192.168.1.0/24 or 10.0.0.0/24, so pick something like 10.8.0.0/24 for your portable lab.

# On OpenWrt via SSH, edit the LAN interface uci set network.lan.ipaddr='10.8.0.1' uci set network.lan.netmask='255.255.255.0' uci commit network service network restart 

Step 3: Assign static leases for your compute nodes. In LuCI go to Network, then DHCP and DNS, then Static Leases, and add an entry for each node's MAC address.

Step 4: Enable a WireGuard tunnel back to your home network if you want access to services you left running there. Install the wireguard-tools and kmod-wireguard packages on OpenWrt, then configure a peer pointing at your home endpoint. Note that OpenWrt 25.12 and later replaced opkg with the apk package manager, so on a current build use apk update and apk add in place of the opkg commands below (package names are unchanged).

# Install WireGuard on OpenWrt opkg update opkg install wireguard-tools kmod-wireguard luci-proto-wireguard 

Step 5: On each compute node, set the hostname and point DNS at the router so local names resolve correctly.

# On each Raspberry Pi or mini PC running Ubuntu/Debian sudo hostnamectl set-hostname node1 # Set the router as DNS resolver in /etc/resolv.conf or via netplan echo "nameserver 10.8.0.1" | sudo tee /etc/resolv.conf 

🐳 Running Services on the Road

Docker is the easiest way to run portable workloads on your compute nodes. Keep a compose.yml in your repo so spinning up your stack on fresh hardware is a single command.

# On your compute node curl -fsSL https://get.docker.com | sudo sh # Docker's official script, includes the compose plugin cd ~/lab-stack docker compose up -d 

Good candidates for a portable lab stack: a local DNS resolver like Pi-hole or AdGuard Home, a lightweight dashboard like Homer or Dashy, and a code server instance if you want a full dev environment anywhere. Keep images lean and avoid anything that needs a GPU or large local datasets unless your hardware supports it.

🛡️ Security

Because you are connecting your router's WAN to untrusted networks, the firewall rules matter. OpenWrt's default firewall blocks inbound connections to the WAN zone, which is a solid baseline. Double-check that rule is in place and has not been softened.

Do not expose any services on the WAN interface. If you need remote access to your portable lab from outside the local subnet, use WireGuard rather than opening ports. Change the default router admin password immediately after flashing, and disable SSH password authentication in favor of key-based auth on all compute nodes.

🔧 Troubleshooting

  • Hotel WiFi captive portal blocks the WAN connection: Connect a laptop directly to the hotel WiFi first, accept the captive portal, then clone that laptop's MAC address on the router's WAN interface so the portal session carries over.
  • IP conflict between hotel subnet and your LAN: Change your router's LAN subnet as described in Step 2 above. Using a less common range like 10.8.0.0/24 almost always avoids this.
  • Node not reachable at its static IP: Check that the MAC address in the DHCP static lease matches the node's actual MAC. Run ip link show on the node to confirm.
  • Power bank cuts out under load: Some power banks have low-load cutoff protection that kicks in during idle. Keep a small background process running or switch to a wall charger for sustained use.

✅ Wrap Up

A portable homelab is less about cramming the most hardware into a bag and more about choosing the right pieces that work reliably together under travel constraints. A solid travel router running OpenWrt, one or two compact compute nodes, and a reliable power source will get you 90 percent of the way there.

Start small, get the router and one node talking cleanly, then add complexity once the foundation is solid. The same Docker Compose files and Ansible playbooks you use at home will follow you anywhere, which is the real payoff.

Related from the lab

Originally published at codewithromi.com.