I am running a Proxmox node with a VM running a couple of Podman rootless containers, one of which is Jellyfin. I have also installed Traefik on a separate LXC unprivileged container. I have installed Tailscale on both the VM and the LXC.

What I want now is to create a reverse proxy so that I create subdomains pointing to my registered domain name, e.g. example.com.

I want when trying to access ‘jellyfin.example.com‘ the reverse proxy to point to the Tailscale IP or URL, for example ‘https://media.tbXXX.ts.net:8096‘. But that should work only when connected to the Tailscale network.

Is this even possible? If it is, can you point me to some resources explaining the whole configuration?

  • filister@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 months ago

    I have a registered domain name already, but I am behind CGNAT and I don’t really have a public IP.

    I want to allow access to my services remotely only through Tailscale.

    • thelittleblackbird@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

      OK I understood that the request came from internet and tailscale was to link the reverse proxy and the server.

      In this case try ipv6, pretty sure you have ipv6 and you will have a public address.

      But for this case you will need a dns in your network so example.com can be resolved and then your proxy will make the right request.

      Yes doable.