Tailscale Funnel

Tailscale Funnel lets you route traffic from the broader internet to a local service running on a device in your Tailscale network (known as a tailnet).

Tailscale Funnel offers simple, secure local service exposure via its Zero-Trust VPN, while a Reverse Proxy provides complete control over routing, performance, and public security. It's really useful for apps that you need to be public and that asks your server IP only one time like Immich.

Pros:

  • Ease of use, one command, instant public HTTPS

  • No port forwarding needed

Cons:arrow-up-right

Setup for Proxmox

  1. Install tailscale on LXC(s) running the service(s) using https://login.tailscale.com/admin/machines/new-linuxarrow-up-right (just copy paste the script)

  2. Change ID and paste the following script in Proxmox shell (it gives /dev/net/tun access to the LXC):

  1. In the LXC you can now just proxy your service with:

Note that if the LXC restarts, it will not persist, if you want you could do a cronjob or use tailscale sidecar (examples: https://github.com/2Tiny2Scale/ScaleTail#tailscale-funnelarrow-up-right https://github.com/felix19350/tailscale-immicharrow-up-right)

Last updated