Exposing Port 8006 from a VM Behind NAT using Reverse SSH Tunnel

In virtualized environments, it’s common to have a VM running behind NAT, especially when using tools like QEMU, VirtualBox, or cloud labs. This setup means the VM can reach the host, but the host cannot directly initiate connections to the VM — including to web services like the Proxmox web GUI running on port 8006. Fortunately, this limitation is easy to bypass using reverse SSH tunneling. 🧠 Objective We want to: ...

May 4, 2025 · 3 min · rohan

VM Behind NAT? No Problem with Reverse SSH

🧩 VM Behind NAT? 🖥️ Scenario Your VM is running as root user. Your host machine has a user named rohan. The VM is behind NAT — it can talk to the host, but the host can’t directly talk to the VM. You want the host to be able to connect to the VM anyway. No worries — you can use a reverse SSH tunnel to solve this! ✅ Goal Allow your host (rohan@host) to SSH into your VM (root@vm) even though the VM is behind NAT. ...

May 4, 2025 · 2 min · Rohan Batra

Full Network Addressing Architecture for Hybrid Infrastructure

📡 Full Network Addressing Architecture for Hybrid Infrastructure 1. 🎯 Concept Overview This document defines a highly structured, hierarchical IP addressing and hostname convention for a multi-environment infrastructure that includes: Baremetal systems (e.g., Arch Linux on sitar-1-arch) Virtualized systems (e.g., Proxmox VMs, OPNsense appliances) Containerized services (e.g., Docker networks) Mobile-edge systems (e.g., Termux-based clients or gateways) Future cloud or experimental research subnets The network design is hierarchical, incremental, and self-documenting, using a w.x.y.z IP structure and FQDN conventions for every entity on the network. ...

April 28, 2025 · 5 min · Rohan