Why remote access needs care
Once your home lab is running, you will want to reach it from work, from your phone or while travelling. The quickest way is to forward a port on your router to a service inside your network. It is also the most common way home labs get compromised.
Automated scanners constantly probe every internet address for open ports. Any service you expose directly, such as a Proxmox, NAS or router administration page, becomes a target for password guessing and unpatched vulnerabilities. If you are still planning your lab, our guide to getting started with your first home lab covers the basics first.
Option 1: a self-hosted WireGuard VPN
WireGuard is a modern, fast and well-regarded VPN protocol. You run a WireGuard server at home, often on your router or a small virtual machine, and install the WireGuard app on your phone and laptop. When the VPN is connected, your devices behave as if they are on your home network.
Strengths: fast, free, fully under your control, and only one port is exposed, which ignores anything that does not present a valid key.
Limitations: it needs a port forwarded on your router, which is not possible on some internet connections, and you manage the keys and updates yourself.
Option 2: Tailscale
Tailscale is a service built on WireGuard that connects your devices into a private network without opening ports. Each device signs in to your Tailscale account and can then reach the others securely.
Strengths: very easy to set up, works through most firewalls and CGNAT, and supports access controls and multi-factor authentication through your identity provider.
Limitations: it depends on a third-party coordination service, and larger plans have costs. If you prefer to self-host everything, Headscale is an open-source alternative for the coordination server.
Option 3: Cloudflare Tunnel
Cloudflare Tunnel creates an outbound connection from your lab to Cloudflare, so a web application can be reached through a public address without opening any ports. Combined with Cloudflare Access, visitors must sign in before they reach your service.
Strengths: no open ports, works behind CGNAT, and suits web applications you want to share with family or friends.
Limitations: it is designed for web traffic, your traffic passes through Cloudflare, and you must configure access rules carefully. A tunnel without an access policy simply publishes your service to the internet.
Comparing the options
| WireGuard | Tailscale | Cloudflare Tunnel | |
|---|---|---|---|
| Open ports needed | One | None | None |
| Works behind CGNAT | No | Yes | Yes |
| Best for | Full private access | Easy private access | Sharing web applications |
| Self-hosted | Fully | Partly, unless using Headscale | No |
What is CGNAT and why does it matter?
Some internet connections, including certain NBN, fixed wireless and mobile broadband plans in Australia, use carrier-grade network address translation. Your home shares a public address with other customers, so incoming connections cannot reach your router at all.
If port forwarding does not work for you, CGNAT is a likely cause. Some providers offer a dedicated public address on request or for a small fee. Otherwise, Tailscale or Cloudflare Tunnel will work without any changes.
Security habits that matter whichever option you choose
- Never expose administration pages for Proxmox, your NAS or your router directly to the internet.
- Turn on multi-factor authentication for your VPN or identity provider.
- Keep your router, VPN software and services updated.
- Put smart home and guest devices on a separate network from your servers if your router supports it.
- Review which devices and people have access every few months, and remove anything you no longer use.
Common questions
Is port forwarding ever acceptable?
For a single, well-maintained service designed for internet exposure, such as a WireGuard server, it can be reasonable. For administration pages or applications that were not built for public access, use a VPN or tunnel instead.
Is Tailscale safe?
Tailscale uses the WireGuard protocol, and connections between your devices are encrypted end to end. As with any service, protect your account with multi-factor authentication and review device access regularly.
Can I use more than one option?
Yes. Many home labs use a VPN for private administration and a tunnel with sign-in for one or two web applications shared with family.