Tailscale VPN
Connect servers, VMs, and devices to create your own personal Internet — a private network you can share with friends & family, and access from anywhere in the world.
Tailscale for home lab is extremely easy to use and just works.
Install on RPi
Install with single command
curl -fsSL https://tailscale.com/install.sh | sh
Authenticate
sudo tailscale up
Conclusion
Now that it's set up, we can access our RPi from anywhere as long as we are connected to Tailscale on our remote device.
This is a much more secure way to access your local services from remote locations.
You can also have multiple users on the free plan if you need to share with others.